Clanbite Since 1.5.0
sanitize_toast_duration( mixed $value ): stringSanitize the popup length: one of the offered values (seconds, custom or 0 = until closed), otherwise the default.
public
Class: Kernowdev\Clanbite\Extensions\Notifications\Admin
Parameters
$value(mixed) RequiredRaw value.
Returns
string
Defined in inc/extensions/notifications/class-extension-notifications-admin.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |