WC_Admin_Notices::remove_all_notices()public staticWC 1.0

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 9.7.1

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