# clanbite_ranks_get_rank_icon()

Get user's rank icon URL.

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

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

```php
clanbite_ranks_get_rank_icon( int $user_id ): string
```

## Parameters

- `$user_id` (int) User ID.

## Return

`string` Icon URL or empty string.
