Automattic\WooCommerce\Admin\Notes

Note::get_allowed_statuses()public staticWC 1.0

Get allowed statuses.

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

Hooks from the method

Return

Array.

Usage

$result = Note::get_allowed_statuses();

Code of Note::get_allowed_statuses() WC 7.1.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 );
}