WC_Admin_Notices::remove_all_notices()
Remove all notices.
Method of the class: WC_Admin_Notices{}
No Hooks.
Return
null
. Nothing.
Usage
$result = WC_Admin_Notices::remove_all_notices();
WC_Admin_Notices::remove_all_notices() WC Admin Notices::remove all notices code WC 7.5.1
public static function remove_all_notices() { self::$notices = array(); }