bp_potential_friend_id( int $user_id )
Output the ID of the current user in the friend request loop.
Description
See also
- bp_get_potential_friend_id(): for a description of arguments.
Parameters
- $user_id
-
(Required) See bp_get_potential_friend_id().
Source
File: bp-friends/bp-friends-template.php
function bp_potential_friend_id( $user_id = 0 ) { echo bp_get_potential_friend_id( $user_id ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.6 | 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.