Clanbite Points

on_friendship_accepted( int $friendship_id, int $user_id, int $friend_id, object $row ): void

Award points to both members when a friend request is accepted.

public static

Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks

Parameters

$friendship_id (int) Required

Row ID.

$user_id (int) Required

First user.

$friend_id (int) Required

Second user.

$row (object) Required

Friendship row.

Returns

void

Defined in inc/Integration/Companion_Hooks.php

Changelog

VersionDescription
1.2.1Updated.