Clanbite Social Kit Players

apply_filters( 'clanbite_social_kit_player_at_tag', string $text, int $profile_user_id, string $nicename )

Filters the displayed @ tag text for the player at-tag block.

Filter PHP

Parameters

$text (string)

Full display string (includes leading @ by default).

$profile_user_id (int)

User ID.

$nicename (string)

Sanitized nicename without @.

Example

add_filter( 'clanbite_social_kit_player_at_tag', function ( $text, $profile_user_id, $nicename ) {
	// Change $text here.
	return $text;
}, 10, 3 );

Defined in src/blocks/player-at-tag/render.php