apply_filters( 'clanbite_forums_online_snapshot', array<string, int> $counts, int $window_minutes )Filters online user counts before display.
Filter PHP
Parameters
$counts(array<string, int>)Keys:
total,registered,hidden,guests.$window_minutes(int)Window length in minutes.
Example
add_filter( 'clanbite_forums_online_snapshot', function ( $counts, $window_minutes ) {
// Change $counts here.
return $counts;
}, 10, 2 );Defined in inc/Forums/Online_Tracker.php