DataStore::sync_on_order_delete( int $order_id, int $customer_id )

Sync customers data after an order was deleted.


Description Description

When an order is deleted, the customer record is deleted from the table if the customer has no other orders.


Parameters Parameters

$order_id

(Required) Order ID.

$customer_id

(Required) Customer ID.


Top ↑

Source Source

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


			


Top ↑

User Contributed Notes User Contributed Notes

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