Clanbite Social Kit Social Since 1.4.0

do_action( 'clanbite_social_kit_friendship_removed', int $friendship_id, object $row )

Fires after an accepted friendship was ended by one of the two members.

Action PHP

Parameters

$friendship_id (int)

Removed friendship row ID.

$row (object)

The friendship row as it was before removal.

Example

add_action( 'clanbite_social_kit_friendship_removed', function ( $friendship_id, $row ) {
	// Run your code.
}, 10, 2 );

Defined in inc/Social/Data_Access.php

Changelog

VersionDescription
1.4.0Introduced.