Clanbite Forums Since 1.3.0
clanbite_forums_render_content_html( string $html, int $author_id ): stringForum content for display, with @username mentions turned into profile links.
Mentions need Clanbite Social Kit (it owns the mention rules, including each member's "who can @mention me" privacy setting); without it the content is returned as stored. The stored content is never changed, so editing a post shows the text as it was written.
Namespace: Kernowdev\ClanbiteForums
Parameters
$html(string) RequiredStored topic or reply HTML.
$author_id(int) RequiredAuthor of the content.
Returns
string
Defined in inc/functions.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Introduced. |