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


Top ↑

Return Return

(int) - the total number of purchases


Top ↑

Source Source

File: includes/user-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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