Functions

edd_set_payment_transaction_id()

The edd_set_payment_transaction_id() function is used to set the transaction ID related to a specific purchase. For assistance, please open a ticket in the support forums.

edd_get_payment_transaction_id()

The edd_get_payment_transaction_id() function is used to retrieve the transaction ID related to a specific purchase. For assistance, please open a ticket in the support forums.

edd_add_email_tag

The edd_add_email_tag() function allows you to register custom email tags for purchase receipts and admin sale notifications. For assistance, please open a ticket in the support forums.

edd_is_test_mode()

This function can be used to check if test mode is enabled for Easy Digital Downloads. For assistance, please open a ticket in the support forums.

edd_is_ajax_enabled()

This function can be used to check if ajax is enabled for Easy Digital Downloads. If you are integrating EDD into your theme, this may be very useful. For assistance, please open a ticket in the support forums.

edd_email_purchase_receipt()

This function can be used for resending the email purchase receipt for any purchase. For assistance, please open a ticket in the support forums.

edd_get_download_files()

This function can be used for retrieving all downloadable files attached to a download product. For assistance, please open a ticket in the support forums.

edd_format_amount()

This function can be used for format a given price. It will return the result with a currency sign and formatted to the correct number of decimals. For assistance, please open a ticket in the support forums.

edd_get_download_sales_stats()

This function will retrieve the total number of sales for a particular download. For assistance, please open a ticket in the support forums.

edd_get_download_earnings_stats()

This function will retrieve the total amount a particular download has earned in sales. For assistance, please open a ticket in the support forums.

edd_get_price_option_name()

This function can be used for getting the name of a specified price from a specific download. For assistance, please open a ticket in the support forums.

edd_get_variable_prices()

This function will return an array of all of the variable prices set for the provided download ID. For assistance, please open a ticket in the support forums.

edd_has_user_purchased()

This conditional function will allow you to check whether a user has purchased a particular digital product. For assistance, please open a ticket in the support forums.

edd_get_download_files()

This function is used for retrieving an array of all downloadable files associated with a digital product. The function requires the ID of the download to retrieve files for and will return a multidimensional array. For assistance, please open a ticket in the support forums.

edd_get_download()

This function can be used to retrieve the post object for a download by either ID or slug. For assistance, please open a ticket in the support forums.

edd_has_variable_prices()

This function will check whether a download has variable prices enabled. If the specified ID has variable prices, the function will return true, otherwise it will return false. For assistance, please open a ticket in the support forums.

edd_price()

This function will output a nicely formatted price of any specified download. It accepts one parameter for the ID of the download whose price should be displayed. edd_price($download_id); // will output something like $10 The price amount is formatted with the currency set in the plugin options, as well as the currency sign position. If […]

Error: Please enter a valid email address

Error: Invalid email