File: bp-friends/bp-friends-functions.php
Description
friends_check_user_has_friends()

Check whether a given user has any friends.

Source: bp-friends/bp-friends-functions.php:331

friends_get_friendship_id()

Get the ID of two users’ friendship, if it exists.

Source: bp-friends/bp-friends-functions.php:354

friends_friendship_rejected

Fires after a connection request is rejected.

Source: bp-friends/bp-friends-functions.php:210

friends_add_friend()

Create a new friendship.

Source: bp-friends/bp-friends-functions.php:32

friends_friendship_{$action}

Fires at the end of initiating a new friendship connection.

Source: bp-friends/bp-friends-functions.php:84

friends_remove_friend()

Remove a friendship.

Source: bp-friends/bp-friends-functions.php:100

friends_before_friendship_delete

Fires before the deletion of a friendship activity item for the user who canceled the friendship.

Source: bp-friends/bp-friends-functions.php:115

friends_friendship_deleted

Fires before the friendship connection is removed.

Source: bp-friends/bp-friends-functions.php:129

friends_friendship_post_delete

Fires after the friendship connection is removed.

Source: bp-friends/bp-friends-functions.php:142

friends_accept_friendship()

Mark a connection request as accepted.

Source: bp-friends/bp-friends-functions.php:160