do_action( 'friends_before_friendship_delete', int $friendship_id , int $initiator_userid , int $friend_userid )
Fires before the deletion of a friendship activity item for the user who canceled the friendship.
Description
Parameters
- $friendship_id
-
ID of the friendship object, if any, between a pair of users.
- $initiator_userid
-
ID of the friendship initiator.
- $friend_userid
-
ID of the friend user.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.5.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.