Automattic\WooCommerce\Admin\Features

TransientNotices::get_queue()public staticWC 1.0

Get all notices in the queue.

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

Хуков нет.

Возвращает

Массив.

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

$result = TransientNotices::get_queue();

Код TransientNotices::get_queue() WC 8.7.0

public static function get_queue() {
	return get_option( self::QUEUE_OPTION, array() );
}