# clanbite_get_avatar_url()

Get avatar URL for an entity.

```php
clanbite_get_avatar_url( string $type, int $id, string $size = 'medium', string $context = '' ): string
```

## Parameters

- `$type` (string) Entity type: 'player', 'team', 'group'.
- `$id` (int) Entity ID.
- `$size` (string) Size preset or slug.
- `$context` (string) Context identifier.

## Return

`string` Avatar URL or empty string.

## Changelog

| Version | Description |
| --- | --- |
| 1.2.0 | Introduced |
