Clanbite Points Since 1.4.0

on_friendship_removed( int $friendship_id, object $row ): void

Take back the points earned by a friendship (the request and the acceptance) when it ends.

public static

Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks

Parameters

$friendship_id (int) Required

Row ID.

$row (object) Required

Friendship row as it was before removal.

Returns

void

Defined in inc/Integration/Companion_Hooks.php

Changelog

VersionDescription
1.4.0Introduced.