clanbite_ranks_get_user_rank_label( int $user_id, string $rank_type_key ): stringCurrent rank label of a user for one rank type.
Returns the assigned label for assigned-only ranks, otherwise the highest level the user's points balance reaches.
Global alias of \Kernowdev\ClanbiteRanks\clanbite_ranks_get_user_rank_label() so themes and other plugins can use the documented name behind the usual function_exists() check.
Parameters
$user_id(int) RequiredUser ID.
$rank_type_key(string) RequiredRank type key from the Ranks settings.
Returns
string Rank label, or an empty string when Ranks is inactive or the user has no rank.
Defined in inc/functions-global.php