Clanbite Forums General Since 1.3.0

apply_filters( 'clanbite_forums_content_display_html', string $html, int $author_id )

Filters forum topic or reply HTML just before it is sent to the page for display.

Filter PHP

Parameters

$html (string)

HTML with mentions linked (when Social Kit is active).

$author_id (int)

Author of the content.

Example

add_filter( 'clanbite_forums_content_display_html', function ( $html, $author_id ) {
	// Change $html here.
	return $html;
}, 10, 2 );

Defined in inc/functions.php

Changelog

VersionDescription
1.3.0Introduced.