WC_Admin_Notices::remove_all_notices │ public static │ WC 1.0

Remove all notices from the locally cached notices array.

Метод класса: WC_Admin_Notices{}

Хуков нет.

Возвращает

void. Ничего (null).

Использование

$result = WC_Admin_Notices::remove_all_notices();

Код WC_Admin_Notices::remove_all_notices() WC 11.3.0

public static function remove_all_notices() {
	self::set_notices( array() );
}