Clanbite Since 1.5.0

sanitize_toast_position( mixed $value ): string

Sanitize the popup position: one of the known positions, otherwise the default.

public

Class: Kernowdev\Clanbite\Extensions\Notifications\Admin

Parameters

$value (mixed) Required

Raw value.

Returns

string

Defined in inc/extensions/notifications/class-extension-notifications-admin.php

Changelog

VersionDescription
1.5.0Introduced.