DraftOrders::delete_expired_draft_orders()
Method: Delete draft orders older than a day in batches of 20.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:181
Method: Delete draft orders older than a day in batches of 20.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:181
Method: Since it’s possible for third party code to clobber the `$wp_post_statuses` global, we need to do a final check here to make sure the draft post status is registered with the global so that it is not removed by WP_Query status validation checks.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:217
Method: Asserts whether incoming order results are expected given the query this service class executes.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:235
Method: Register custom order status for orders created via the API during checkout.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:101
Method: Register custom order post status for orders created via the API during checkout.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:114
Method: Returns the properties of this post status for registration.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:124
Method: Remove draft status from the ‘status’ argument of an $args array.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:143
Method: Append draft status to a list of statuses.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:169
Class: Service class for adding DraftOrder functionality to WooCommerce core.
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:15
Method: Constructor
Source: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php:32