edd_get_purchase_stats_by_user( int|string $user = '' )

Get Purchase Status for User


Description Description

Retrieves the purchase count and the total amount spent for a specific user


Parameters Parameters

$user

(Optional) - the ID or email of the customer to retrieve stats for

Default value: ''

$mode

(Required) - "test" or "live"


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/user-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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