apply_filters( 'clanbite_player_handle_block_text', string $text, int $user_id, string $nicename, WP_Block $block )Filters the @ handle string for the Player @ handle block.
Filter PHP
Parameters
$text(string)Full display string (normally includes leading @).
$user_id(int)Resolved player user ID.
$nicename(string)Nicename without @.
$block(WP_Block)Block instance.
Example
add_filter( 'clanbite_player_handle_block_text', function ( $text, $user_id, $nicename, $block ) {
// Change $text here.
return $text;
}, 10, 4 );Defined in src/blocks/players/player-handle/render.php