DraftOrders::register_draft_order_status( array $statuses )
Register custom order status for orders created via the API during checkout.
Description Description
Draft order status is used before payment is attempted, during checkout, when a cart is converted to an order.
Parameters Parameters
- $statuses
-
(Required) Array of statuses.
Return Return
(array)
Source Source
File: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php