Clanbite Social Kit Players

apply_filters( 'clanbite_social_kit_player_status_post_count', int $count, int $profile_user_id, int $viewer_id )

Filter the displayed status-post count for the player post count block.

Filter PHP

Parameters

$count (int)

Count after visibility rules.

$profile_user_id (int)

Profile owner user ID.

$viewer_id (int)

Current viewer (0 if logged out).

Example

add_filter( 'clanbite_social_kit_player_status_post_count', function ( $count, $profile_user_id, $viewer_id ) {
	// Change $count here.
	return $count;
}, 10, 3 );

Defined in src/blocks/player-post-count/render.php