edd_get_users_purchased_products( int $user, string $status = 'complete' )
Get Users Purchased Products
Description Description
Returns a list of unique products purchased by a specific user
Parameters Parameters
- $user
-
(Required) User ID or email address
- $status
-
(Optional)
Default value: 'complete'
Return Return
(WP_Post[]|false) List of unique products purchased by user
Source Source
File: includes/user-functions.php
Changelog Changelog
Version | Description |
---|---|
2.0 | Introduced. |