# clanbite_ranks_get_user_rank_name()

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.

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

## Parameters

- `$user_id` (int) User ID.

## Return

`string` Rank name or empty string.
