# clanbite.toasts.settings

Filters the site-wide popup settings for one toast, after the server's values are applied.

Use it to change the defaults for particular toasts (for example a longer time for one `source`). Settings
an extension passes to `show()` itself still win over these.

```php
wp.hooks.applyFilters( 'clanbite.toasts.settings', Object settings, Object options )
```

## Parameters

- `$settings` (Object) `enabled`, `position`, `duration` (ms, 0 = until closed), `max` (toasts per corner), `timer` (countdown bar), `pauseOnHover`.
- `$options` (Object) The options passed to `clanbite.toasts.show()`.

## Changelog

| Version | Description |
| --- | --- |
| 1.5.0 | Introduced |
