DataStore::sync_order_products( int $order_id )
Create or update an entry in the wc_admin_order_product_lookup table for an order.
Description Description
Parameters Parameters
- $order_id
-
(Required) Order 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/Products/DataStore.php
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |