do_action( 'friends_friendship_accepted', int $id , int $initiator_user_id , int $friend_user_id , object $friendship )
Fires after a friendship is accepted.
Description Description
Parameters Parameters
- $id
-
ID of the pending friendship object.
- $initiator_user_id
-
ID of the friendship initiator.
- $friend_user_id
-
ID of the user requested friendship with.
- $friendship
-
BuddyPress Friendship Object.
Source Source
File: bp-friends/bp-friends-functions.php
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |