edd_has_purchases( int $user_id = null )
Has Purchases
Description Description
Checks to see if a user has purchased at least one item.
Parameters Parameters
- $user_id
-
(Optional) - the ID of the user to check
Default value: null
Return Return
(bool) - true if has purchased, false other wise.
Source Source
File: includes/user-functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |