Clanbite Points

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

Award points for a comment a member posted on a social post.

public static

Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks

Parameters

$comment_id (int) Required

Comment ID.

$post_id (int) Required

Parent post ID.

$data (array<string, mixed>) Required

Comment payload.

Returns

void

Defined in inc/Integration/Companion_Hooks.php

Changelog

VersionDescription
1.2.1Updated.