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_friendship_deleted |
Fires before the friendship connection is removed. |
friends_friendship_post_delete |
Fires after the friendship connection is removed. |
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. |