Automattic\WooCommerce\Enums

OrderInternalStatus::get_allpublic staticWC 10.9.0

Returns all internal order status values.

Method of the class: OrderInternalStatus{}

No Hooks.

Returns

string[].

Usage

$result = OrderInternalStatus::get_all(): array;

Changelog

Since 10.9.0 Introduced.

OrderInternalStatus::get_all() code WC 11.0.1

public static function get_all(): array {
	return array(
		self::PENDING,
		self::PROCESSING,
		self::ON_HOLD,
		self::COMPLETED,
		self::CANCELLED,
		self::REFUNDED,
		self::FAILED,
	);
}