Control admin notices


This filter runs every time a new admin notice gets created using WP Mailto Links.

Parameter Type Description
true bool Wether the admin notice should be returned or emptied.
$content string The text of the admin notice.
$type string The type of the admin notice. E.g.: info, success, warning, error
$is_dismissible bool Wether the message should be dismissible or not.
$throwit = apply_filters('wpmt/helpers/throw_admin_notice', true, $content, $type, $is_dismissible);
Updated on September 10, 2019

Was this article helpful?

Related Articles