WC_Admin_Notices::remove_all_notices
Remove all notices from the locally cached notices array.
Метод класса: WC_Admin_Notices{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = WC_Admin_Notices::remove_all_notices();
Код WC_Admin_Notices::remove_all_notices() WC Admin Notices::remove all notices WC 10.4.3
public static function remove_all_notices() {
self::set_notices( array() );
}