# clanbite_attach_toast_config()

Hand the site's toast settings to the browser, as an inline script printed before `clanbite-toasts.js`.

Runs when scripts are about to print rather than at registration, so a `clanbite_toast_settings` filter added on any
hook (even a late `init` callback) is honoured. Safe to call more than once; the config is attached a single time.

```php
clanbite_attach_toast_config(  ): void
```

## Return

`void` 

## Changelog

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