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