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.


Top ↑

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

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

View on Trac



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.