Clanbite Points

on_social_post_created( int $post_id, array<string, mixed> $data ): void

Award points for a social post (and its image or poll) a member published.

public static

Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks

Parameters

$post_id (int) Required

Post ID.

$data (array<string, mixed>) Required

Post payload.

Returns

void

Defined in inc/Integration/Companion_Hooks.php

Changelog

VersionDescription
1.2.1Updated.