edd_count_purchases_of_customer( mixed $user = null )
Count number of purchases of a customer
Description Description
Returns total number of purchases a customer has made
Parameters Parameters
- $user
-
(Optional) - ID or email
Default value: null
Return Return
(int) - the total number of purchases
Source Source
File: includes/user-functions.php
Changelog Changelog
Version | Description |
---|---|
1.3 | Introduced. |