Clanbite Forums Since 1.3.0

clanbite_forums_notify_mentions( string $html, int $author_id, object $topic, int $reply_id = 0 ): void

Notify the members @mentioned in a new topic or reply (needs Social Kit and Notifications; honours each member's privacy setting).

Namespace: Kernowdev\ClanbiteForums

Parameters

$html (string) Required

Topic or reply HTML.

$author_id (int) Required

Author.

$topic (object) Required

Topic row.

$reply_id (int) Optional

Reply id, or 0 for the topic itself.

Default: 0

Returns

void

Defined in inc/functions.php

Changelog

VersionDescription
1.3.0Introduced.