Clanbite Social Kit

maybe_notify_reply_recipient( int $comment_id, int $post_id, array $data ): void

Notify the post author (top-level reply) or parent comment author (nested reply).

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Mentions

Parameters

$comment_id (int) Required

New comment ID.

$post_id (int) Required

Social post ID.

$data (array) Required

Keys: content, author_id, parent_id (nullable).

Returns

void

Defined in inc/Social/Mentions.php