Clanbite Since 1.5.0
clanbite_attach_toast_config( ): voidHand 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.
Returns
void
Defined in inc/toasts.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |