edd_purchase_total_of_user( mixed $user = null )
Calculates the total amount spent by a user
Description Description
Parameters Parameters
- $user
-
(Optional) - ID or email
Default value: null
Return Return
(float) - the total amount the user has spent
Source Source
File: includes/user-functions.php
Changelog Changelog
Version | Description |
---|---|
1.3 | Introduced. |