# clanbite_avatar_img_attributes_{context}

Filters the avatar `<img>` attributes for one context.

Context-specific variant of `clanbite_avatar_img_attributes`.

```php
apply_filters( 'clanbite_avatar_img_attributes_{context}', array<string, string|bool> $img_attrs, array<string, mixed> $args )
```

## Parameters

- `$img_attrs` (array<string, string|bool>) Attribute map.
- `$args` (array<string, mixed>) Avatar arguments (`type`, `id`, `size`, `context`, `shape`, …); see `clanbite_render_avatar()`.

## Changelog

| Version | Description |
| --- | --- |
| 1.3.0 | Updated |
| 1.2.0 | Introduced |
