Clanbite Points Since 1.4.0

on_social_post_deleted( int $post_id, object $row ): void

Take 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) Required

Post ID.

$row (object) Required

Post row as it was before deletion.

Returns

void

Defined in inc/Integration/Companion_Hooks.php

Changelog

VersionDescription
1.4.0Introduced.