Automattic\WooCommerce\Admin\Notes

Note::get_allowed_statuses()public staticWC 1.0

Get allowed statuses.

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

Хуки из метода

Возвращает

Массив.

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

$result = Note::get_allowed_statuses();

Код Note::get_allowed_statuses() WC 7.3.0

public static function get_allowed_statuses() {
	$allowed_statuses = array(
		self::E_WC_ADMIN_NOTE_PENDING,
		self::E_WC_ADMIN_NOTE_ACTIONED,
		self::E_WC_ADMIN_NOTE_UNACTIONED,
		self::E_WC_ADMIN_NOTE_SNOOZED,
		self::E_WC_ADMIN_NOTE_SENT,
	);

	return apply_filters( 'woocommerce_note_statuses', $allowed_statuses );
}