# clanbite.notifications.showToast

Lets a handler show the toast itself. Return a truthy value after rendering to skip the shared popup.

Prefer the shared `clanbite.toasts.*` filters (for example `clanbite.toasts.payload`) to change how every popup looks.

```php
wp.hooks.applyFilters( 'clanbite.notifications.showToast', boolean handled, string message, string type )
```

## Parameters

- `$handled` (boolean) Default `false`.
- `$message` (string) Toast message.
- `$type` (string) `info`, `success` or `error`.

## Changelog

| Version | Description |
| --- | --- |
| 1.5.0 | Updated |
