Clanbite Points Since 1.4.0
on_social_post_deleted( int $post_id, object $row ): voidTake back everything a deleted social post earned: the post itself, its poll and photo bonus, votes, comments and the reactions on it and on its comments.
public static
Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks
Parameters
$post_id(int) RequiredPost ID.
$row(object) RequiredPost row as it was before deletion.
Returns
void
Defined in inc/Integration/Companion_Hooks.php
Changelog
| Version | Description |
|---|---|
| 1.4.0 | Introduced. |