apply_filters( 'clanbite_players_get_display_bio', string $bio, int $player_id )Allows filtering of the players display bio, this can be bypassed by setting $suppress_filters param to true.
Filter PHP
Parameters
$bio(string)Profile description.
$player_id(int)Player (user) ID.
Example
add_filter( 'clanbite_players_get_display_bio', function ( $bio, $player_id ) {
// Change $bio here.
return $bio;
}, 10, 2 );Defined in inc/extensions/players/functions.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Updated. |