DataStore::get_order_count( int $customer_id )
Retrieve the amount of orders made by a customer.
Description Description
Parameters Parameters
- $customer_id
-
(Required) Customer ID.
Return Return
(int|null) Amount of orders for customer or null on failure.
Source Source
File: packages/woocommerce-admin/src/API/Reports/Customers/DataStore.php