do_action( 'friends_friendship_deleted', int $friendship_id, int $initiator_userid, int $friend_userid )

Fires before the friendship connection is removed.


Description Description

This hook is misleadingly named – the friendship is not yet deleted. This is your last chance to do something while the friendship exists.


Parameters 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.


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.