Clanbite Ranks

clanbite_ranks_icon_url_for_level_label( array $rank_def, string $label ): string

Icon URL for a level row matching the given label (ladder definition).

Namespace: Kernowdev\ClanbiteRanks

Parameters

$rank_def (array<string, mixed>) Required

Ladder row from settings (levels list).

$label (string) Required

Level label to match.

Returns

string Empty when not found or no icon.

Defined in inc/functions.php