# clanbite_component_available

Filters whether a component is considered available (for example to switch one off for a site setting).

```php
apply_filters( 'clanbite_component_available', bool $available, string $slug, array<string, mixed> $def )
```

## Parameters

- `$available` (bool) Whether it is available so far.
- `$slug` (string) Component slug.
- `$def` (array<string, mixed>) Its definition.

## Changelog

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