Clanbite Ranks

clanbite_ranks_get_user_rank_name( int $user_id ): string

Get user's rank name.

Returns the label for the first enabled rank type with show_avatar_icon.

Global alias of \Kernowdev\ClanbiteRanks\clanbite_ranks_get_user_rank_name() so themes and other plugins can use the documented name behind the usual function_exists() check.

Parameters

$user_id (int) Required

User ID.

Returns

string Rank name or empty string.

Defined in inc/functions-global.php