clanbite_ranks_get_avatar_badge_for_rest( int $user_id ): array<string, mixed>Avatar ring / badge data shaped for Interactivity templates (REST author payload avatar_badge).
Global alias of \Kernowdev\ClanbiteRanks\clanbite_ranks_get_avatar_badge_for_rest() so themes and other plugins can use the documented name behind the usual function_exists() check.
Parameters
$user_id(int) RequiredUser ID.
Returns
array<string, mixed>
Defined in inc/functions-global.php