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.
Namespace: Kernowdev\ClanbiteRanks
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.php