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.


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/Orders/Stats/DataStore.php




Top ↑

User Contributed Notes User Contributed Notes

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