File: bp-friends/bp-friends-functions.php |
Description |
---|---|
friends_get_total_friend_count |
Filters the total friend count for a given user. |
friends_check_user_has_friends() |
Check whether a given user has any friends. |
friends_get_friendship_id() |
Get the ID of two users’ friendship, if it exists. |
friends_accept_friendship() |
Mark a connection request as accepted. |
friends_friendship_accepted |
Fires after a friendship is accepted. |
friends_reject_friendship() |
Mark a connection request as rejected. |
friends_add_friend() |
Create a new friendship. |
friends_friendship_{$action} |
Fires at the end of initiating a new friendship connection. |
friends_remove_friend() |
Remove a friendship. |
friends_before_friendship_delete |
Fires before the deletion of a friendship activity item for the user who canceled the friendship. |