Clanbite Points Since 1.4.4

on_social_comment_deleted( int $comment_id, object $row, int[]|int $deleted_ids = array() ): void

Take back the points a deleted social comment (and every reply below it) earned, with the reactions on them.

public static

Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks

Parameters

$comment_id (int) Required

Comment that was deleted.

$row (object) Required

Its row as it was before deletion.

$deleted_ids (int[]|int) Optional

Every comment ID removed with it.

Default: array()

Returns

void

Defined in inc/Integration/Companion_Hooks.php

Changelog

VersionDescription
1.4.4Introduced.