Clanbite Forums Since 1.3.0

clanbite_forums_render_content_html( string $html, int $author_id ): string

Forum 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) Required

Stored topic or reply HTML.

$author_id (int) Required

Author of the content.

Returns

string

Defined in inc/functions.php

Changelog

VersionDescription
1.3.0Introduced.