WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Utilities

OrderController::default_order_status() public WC 1.0

Changes default order status to draft for orders created via this API.

{} It's a method of the class: OrderController{}

No Hooks.

Return

String.

Usage

$OrderController = new OrderController();
$OrderController->default_order_status();

Code of OrderController::default_order_status() WC 5.8.0

public function default_order_status() {
	return 'checkout-draft';
}