Clanbite Social Kit Social Since 1.6.0 Updated in 1.6.1
apply_filters( 'clanbite_social_kit_player_card_html', string $html, int $user_id )Filters the player card markup before it is sanitised and sent to the page.
Filter PHP
Parameters
$html(string)Card HTML.
$user_id(int)Player user ID.
Example
add_filter( 'clanbite_social_kit_player_card_html', function ( $html, $user_id ) {
// Change $html here.
return $html;
}, 10, 2 );Defined in inc/Social/Player_Card.php
Changelog
| Version | Description |
|---|---|
| 1.6.1 | Updated. |
| 1.6.0 | Introduced. |