File: bp-friends/classes/class-bp-friends-friendship.php |
Description |
---|---|
BP_Friends_Friendship::get_bulk_last_active() |
Get the last active date of many users at once. |
BP_Friends_Friendship::accept() |
Mark a friendship as accepted. |
BP_Friends_Friendship::withdraw() |
Remove a connection or a connection request INITIATED BY the logged-in user. |
BP_Friends_Friendship::reject() |
Remove a connection or a connection request MADE OF the logged-in user. |
BP_Friends_Friendship::delete() |
Delete the current friendship from the database. |
BP_Friends_Friendship::get_friendships() |
Get the friendships for a given user. |
BP_Friends_Friendship::get_friendship_ids_for_user() |
Get all friendship IDs for a user. |
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. |
BP_Friends_Friendship::get_friendship_request_user_ids() |
Get a list of IDs of users who have requested friendship of a given user. |