apply_filters( 'bp_get_potential_friend_id', int $user_id )

Filters the ID of current user in the friend request loop.

Description

Parameters

$user_id

ID of current user in the friend request loop.

Source

File: bp-friends/bp-friends-template.php

Changelog

Changelog
Version Description
BuddyPress 1.2.10 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.