# clanbite.toasts.dismissed

Fires after a toast is dismissed.

```php
wp.hooks.doAction( 'clanbite.toasts.dismissed', {{id: string, element: HTMLElement}} handle, Object payload, string reason )
```

## Parameters

- `$handle` ({{id: string, element: HTMLElement}}) The toast handle.
- `$payload` (Object) Toast options.
- `$reason` (string) `timeout`, `close`, `escape`, `action`, `replaced`, `overflow` or `api`.

## Changelog

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