File: bp-friends/bp-friends-functions.php |
Description |
---|---|
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_rejected |
Fires after a connection request is 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. |
friends_accept_friendship() |
Mark a connection request as accepted. |