clanbite_ranks_get_avatar_badge( int $user_id ): array{show_progress: bool, progress: int, show_badge: bool, level: int, level_text: string, label: string, icon_url: string}Everything an avatar needs to draw its XP ring and rank badge, in one call.
Global alias of \Kernowdev\ClanbiteRanks\clanbite_ranks_get_avatar_badge() so themes and other plugins can use the documented name behind the usual function_exists() check.
Parameters
$user_id(int) RequiredUser ID.
Returns
array{show_progress: bool, progress: int, show_badge: bool, level: int, level_text: string, label: string, icon_url: string}
Defined in inc/functions-global.php