Function edd_has_purchases
Has Purchases
Checks to see if a user has purchased at least one item.
Package: EDD\Functions
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Located at includes/user-functions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Located at includes/user-functions.php
Parameters summary
mixed |
$user_id = null |
int - the ID of the user to check |
Return value summary
boolean
|
- true if has purchased, false other wise. |