Clanbite Since 1.5.0
clanbite_enqueue_toasts( ): voidLoad the toast library on this page.
Call it before the page prints scripts (for example from a block's render.php or your wp_enqueue_scripts callback), or list the handle clanbite-toasts as a dependency of your own script. Both do the same thing. The script exposes window.clanbite.toasts.show(); see README, "Toasts".
Returns
void
Defined in inc/toasts.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |