friends_get_friendship_request_user_ids( int $user_id )

Get a list of IDs of users who have requested friendship of a given user.


Parameters Parameters

$user_id

(int) (Required) The ID of the user who has received the friendship requests.


Top ↑

Return Return

(array|bool) An array of user IDs, or false if none are found.


Source 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 );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.