Automattic\WooCommerce\StoreApi\Utilities
OrderController::default_order_status()
Changes default order status to draft for orders created via this API.
Method of the class: OrderController{}
No Hooks.
Return
String
.
Usage
$OrderController = new OrderController(); $OrderController->default_order_status();
OrderController::default_order_status() OrderController::default order status code WC 9.3.1
public function default_order_status() { return 'checkout-draft'; }