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


Top ↑

Return Return

(bool) - true if has purchased, false other wise.


Top ↑

Source Source

File: includes/user-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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