Clanbite Forums General

apply_filters( 'clanbite_forums_statistics_snapshot', array<string, int|string> $stats )

Filters forum statistics before rendering or REST output.

Filter PHP

Parameters

$stats (array<string, int|string>)

Statistics payload.

Example

add_filter( 'clanbite_forums_statistics_snapshot', function ( $stats ) {
	// Change $stats here.
	return $stats;
}, 10, 1 );

Defined in inc/functions.php