friends_get_friendship_request_user_ids( int $user_id )
Get a list of IDs of users who have requested friendship of a given user.
Description
Parameters
- $user_id
-
(int) (Required) The ID of the user who has received the connection requests.
Return
(array|bool) An array of user IDs, or false if none are found.
Source
File: bp-friends/bp-friends-functions.php
function friends_get_friendship_request_user_ids( $user_id ) { return BP_Friends_Friendship::get_friendship_request_user_ids( $user_id ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.0 | 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.