Automattic\WooCommerce\Internal\Agentic\Enums\Specs
OrderStatus::get_all
Get all valid order statuses.
Method of the class: OrderStatus{}
No Hooks.
Returns
Array. Array of valid order status values.
Usage
$result = OrderStatus::get_all();
OrderStatus::get_all() OrderStatus::get all code WC 10.4.3
public static function get_all() {
return array(
self::CREATED,
self::MANUAL_REVIEW,
self::CONFIRMED,
self::CANCELED,
self::SHIPPED,
self::FULFILLED,
);
}