# clanbite_component_args

Filters the arguments a component renders with, for every component.

Runs before the provider's callback: add context (`surface`, `object_type`…), or change an argument for one place.

```php
apply_filters( 'clanbite_component_args', array<string, mixed> $args, string $slug, array<string, mixed> $def )
```

## Parameters

- `$args` (array<string, mixed>) Arguments passed by the caller.
- `$slug` (string) Component slug.
- `$def` (array<string, mixed>) Component definition.

## Changelog

| Version | Description |
| --- | --- |
| 1.6.3 | Introduced |
