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.


Top ↑

Return Return

(int|bool) Returns -1 if order won't be processed, or a boolean indicating processing success.


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/Reports/Products/DataStore.php



Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.