Clanbite Players

do_action( 'clanbite_player_avatar_img_after', int $user_id, array $args, string $url, string $html )

Fires after the player avatar <img> HTML is built.

Action PHP

Parameters

$user_id (int)

User ID.

$args (array)

Arguments from clanbite_players_get_player_avatar_img_html().

$url (string)

Avatar URL.

$html (string)

Built <img> markup.

Example

add_action( 'clanbite_player_avatar_img_after', function ( $user_id, $args, $url, $html ) {
	// Run your code.
}, 10, 4 );

Defined in inc/extensions/players/functions.php