DataStore::sync_order( int $post_id )
Add order information to the lookup table when orders are created or modified.
Description Description
Parameters Parameters
- $post_id
-
(Required) Post ID.
Return Return
(int|bool) Returns -1 if order won't be processed, or a boolean indicating processing success.
Source Source
File: packages/woocommerce-admin/src/API/Reports/Orders/Stats/DataStore.php