do_action( 'friends_friendship_accepted', int $id , int $initiator_user_id , int $friend_user_id , object $friendship )
Fires after a friendship is accepted.
Description
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
Changelog
Version | Description |
---|---|
BuddyPress 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.