File: bp-friends/classes/class-bp-friends-friendship.php |
Description |
---|---|
BP_Friends_Friendship::get_friendships_by_id() |
Get friendship objects by ID (or an array of IDs). |
BP_Friends_Friendship::get_user_ids_for_friendship() |
Get the friend user IDs for a given friendship. |
BP_Friends_Friendship::delete_all_for_user() |
Delete all friendships and friend notifications related to a user. |
BP_Friends_Friendship::search_users() |
Search users. |
BP_Friends_Friendship::search_users_count() |
Get a count of users who match a search term. |
BP_Friends_Friendship::sort_by_name() |
Sort a list of user IDs by their display names. |
BP_Friends_Friendship::get_random_friends() |
Get a list of random friend IDs. |
BP_Friends_Friendship::get_invitable_friend_count() |
Get a count of a user’s friends who can be invited to a given group. |
BP_Friends_Friendship::get_friend_user_ids() |
Get the IDs of a given user’s friends. |
BP_Friends_Friendship::get_friendship_id() |
Get the ID of the friendship object, if any, between a pair of users. |