Clanbite Points

on_comment_reaction_toggled( int $comment_id, int $user_id, string $reaction_type, bool $active ): void

Award points for reacting to a comment (and to the author who received a reaction).

public static

Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks

Parameters

$comment_id (int) Required

Comment PK.

$user_id (int) Required

Reactor.

$reaction_type (string) Required

Slug.

$active (bool) Required

Now active.

Returns

void

Defined in inc/Integration/Companion_Hooks.php

Changelog

VersionDescription
1.2.1Updated.