Clanbite Points Since 1.4.4
on_social_comment_deleted( int $comment_id, object $row, int[]|int $deleted_ids = array() ): voidTake 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) RequiredComment that was deleted.
$row(object) RequiredIts row as it was before deletion.
$deleted_ids(int[]|int) OptionalEvery comment ID removed with it.
Default:
array()
Returns
void
Defined in inc/Integration/Companion_Hooks.php
Changelog
| Version | Description |
|---|---|
| 1.4.4 | Introduced. |