Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
DraftOrders::assert_order_results( WC_Order[] $order_results, int $expected_batch_size )
Asserts whether incoming order results are expected given the query this service class executes.
Description Description
Parameters Parameters
- $order_results
-
(Required) The order results being asserted.
- $expected_batch_size
-
(Required) The expected batch size for the results.
Source Source
File: packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php