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

(int) ID of the friendship object, if any, between a pair of users.

$initiator_userid

(int) ID of the friendship initiator.

$friend_userid

(int) ID of the friend user.

Source

File: bp-friends/bp-friends-functions.php

Changelog

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.