Actions – Easy Digital Downloads Documentation https://easydigitaldownloads.com Sell Digital Products With WordPress Tue, 12 Jul 2022 21:46:28 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 https://easydigitaldownloads.com/wp-content/uploads/2023/10/cropped-new-favicon-1-32x32.png Actions – Easy Digital Downloads Documentation https://easydigitaldownloads.com 32 32 wp_ajax_nopriv_edd_remove_from_cart https://easydigitaldownloads.com/docs/wp_ajax_nopriv_edd_remove_from_cart/ Mon, 24 Jan 2022 20:00:11 +0000 https://edd-site.lndo.site/docs/wp_ajax_nopriv_edd_remove_from_cart/ This is the action that runs when a remove from cart request is processed via ajax from non-logg-in users.

The post wp_ajax_nopriv_edd_remove_from_cart first appeared on Easy Digital Downloads.

]]>
This is the action that runs when a remove from cart request is processed via ajax from non-logg-in users.

The post wp_ajax_nopriv_edd_remove_from_cart first appeared on Easy Digital Downloads.

]]>
edd_checkout_table_body_first https://easydigitaldownloads.com/docs/edd_checkout_table_body_first/ Mon, 24 Jan 2022 20:00:10 +0000 https://edd-site.lndo.site/docs/edd_checkout_table_body_first/ Runs just before the first cell in the checkout cart table body. Used for adding new columns to the checkout table.

The post edd_checkout_table_body_first first appeared on Easy Digital Downloads.

]]>
Runs just before the first cell in the checkout cart table body. Used for adding new columns to the checkout table.

The post edd_checkout_table_body_first first appeared on Easy Digital Downloads.

]]>
wp_ajax_edd_remove_from_cart https://easydigitaldownloads.com/docs/wp_ajax_edd_remove_from_cart/ Mon, 24 Jan 2022 20:00:09 +0000 https://edd-site.lndo.site/docs/wp_ajax_edd_remove_from_cart/ This is the action that runs when a remove from cart request is processed via ajax.

The post wp_ajax_edd_remove_from_cart first appeared on Easy Digital Downloads.

]]>
This is the action that runs when a remove from cart request is processed via ajax.

The post wp_ajax_edd_remove_from_cart first appeared on Easy Digital Downloads.

]]>
edd_cc_form_address_fields https://easydigitaldownloads.com/docs/edd_cc_form_address_fields/ Mon, 24 Jan 2022 20:00:08 +0000 https://edd-site.lndo.site/docs/edd_cc_form_address_fields/ This action runs just have the default credit card input fields and is used for loading the billing address fields. Not necessarily used by add-on gateways.

The post edd_cc_form_address_fields first appeared on Easy Digital Downloads.

]]>
This action runs just have the default credit card input fields and is used for loading the billing address fields. Not necessarily used by add-on gateways.

The post edd_cc_form_address_fields first appeared on Easy Digital Downloads.

]]>
wp_ajax_nopriv_edd_get_download_title https://easydigitaldownloads.com/docs/wp_ajax_nopriv_edd_get_download_title/ Mon, 24 Jan 2022 20:00:07 +0000 https://edd-site.lndo.site/docs/wp_ajax_nopriv_edd_get_download_title/ This action runs when the title of a downloadable product is requested by a non-logged-in user.

The post wp_ajax_nopriv_edd_get_download_title first appeared on Easy Digital Downloads.

]]>
This action runs when the title of a downloadable product is requested by a non-logged-in user.

The post wp_ajax_nopriv_edd_get_download_title first appeared on Easy Digital Downloads.

]]>
edd_pre_delete_discount https://easydigitaldownloads.com/docs/edd_pre_delete_discount/ Mon, 24 Jan 2022 20:00:06 +0000 https://edd-site.lndo.site/docs/edd_pre_delete_discount/ This action just before a discount code is deleted. It receives one parameters: `$discount_id`. do_action( 'edd_pre_delete_discount', $discount_id );

The post edd_pre_delete_discount first appeared on Easy Digital Downloads.

]]>
This action just before a discount code is deleted. It receives one parameters: `$discount_id`.

do_action( 'edd_pre_delete_discount', $discount_id );

The post edd_pre_delete_discount first appeared on Easy Digital Downloads.

]]>
edd_pre_delete_payment_note https://easydigitaldownloads.com/docs/edd_pre_delete_payment_note/ Mon, 24 Jan 2022 20:00:04 +0000 https://edd-site.lndo.site/docs/edd_pre_delete_payment_note/ This action runs just before a payment note is deleted. do_action( 'edd_pre_delete_payment_note', $note_id, $payment_id );

The post edd_pre_delete_payment_note first appeared on Easy Digital Downloads.

]]>
This action runs just before a payment note is deleted.

do_action( 'edd_pre_delete_payment_note', $note_id, $payment_id );

The post edd_pre_delete_payment_note first appeared on Easy Digital Downloads.

]]>
edd_before_cc_expiration https://easydigitaldownloads.com/docs/edd_before_cc_expiration/ Mon, 24 Jan 2022 20:00:02 +0000 https://edd-site.lndo.site/docs/edd_before_cc_expiration/ Runs just before the expiration fields are outputted for the default credit card form.

The post edd_before_cc_expiration first appeared on Easy Digital Downloads.

]]>
Runs just before the expiration fields are outputted for the default credit card form.

The post edd_before_cc_expiration first appeared on Easy Digital Downloads.

]]>
edd_pre_update_discount_status https://easydigitaldownloads.com/docs/edd_pre_update_discount_status/ Mon, 24 Jan 2022 20:00:01 +0000 https://edd-site.lndo.site/docs/edd_pre_update_discount_status/ This action just before the status of a discount code is changed. do_action( 'edd_pre_update_discount_status', $discount_id, $new_status, $old_status );

The post edd_pre_update_discount_status first appeared on Easy Digital Downloads.

]]>
This action just before the status of a discount code is changed.

do_action( 'edd_pre_update_discount_status', $discount_id, $new_status, $old_status );

The post edd_pre_update_discount_status first appeared on Easy Digital Downloads.

]]>
edd_checkout_table_footer_last https://easydigitaldownloads.com/docs/edd_checkout_table_footer_last/ Mon, 24 Jan 2022 20:00:00 +0000 https://edd-site.lndo.site/docs/edd_checkout_table_footer_last/ Runs just after the last cell in the checkout cart table footer. Designed for adding new columns to the checkout cart.

The post edd_checkout_table_footer_last first appeared on Easy Digital Downloads.

]]>
Runs just after the last cell in the checkout cart table footer. Designed for adding new columns to the checkout cart.

The post edd_checkout_table_footer_last first appeared on Easy Digital Downloads.

]]>
edd_checkout_table_body_last https://easydigitaldownloads.com/docs/edd_checkout_table_body_last/ Mon, 24 Jan 2022 19:59:58 +0000 https://edd-site.lndo.site/docs/edd_checkout_table_body_last/ Runs just after the last cell in the checkout cart table body. Designed for adding new columns to the checkout cart.

The post edd_checkout_table_body_last first appeared on Easy Digital Downloads.

]]>
Runs just after the last cell in the checkout cart table body. Designed for adding new columns to the checkout cart.

The post edd_checkout_table_body_last first appeared on Easy Digital Downloads.

]]>
edd_post_remove_cart_discount https://easydigitaldownloads.com/docs/edd_post_remove_cart_discount/ Mon, 24 Jan 2022 19:59:57 +0000 https://edd-site.lndo.site/docs/edd_post_remove_cart_discount/ This action just after a discount is removed from the shopping cart. do_action( 'edd_post_remove_cart_discount', $discount_id );

The post edd_post_remove_cart_discount first appeared on Easy Digital Downloads.

]]>
This action just after a discount is removed from the shopping cart.

do_action( 'edd_post_remove_cart_discount', $discount_id );

The post edd_post_remove_cart_discount first appeared on Easy Digital Downloads.

]]>
edd_api_output_before https://easydigitaldownloads.com/docs/edd_api_output_before/ Mon, 24 Jan 2022 19:59:56 +0000 https://edd-site.lndo.site/docs/edd_api_output_before/ This action runs just before the json/xml is printed to the screen when performing an EDD_API request. do_action( 'edd_api_output_before', $data, $api_object, $format );

The post edd_api_output_before first appeared on Easy Digital Downloads.

]]>
This action runs just before the json/xml is printed to the screen when performing an EDD_API request.

do_action( 'edd_api_output_before', $data, $api_object, $format );

The post edd_api_output_before first appeared on Easy Digital Downloads.

]]>
edd_after_price_options_list https://easydigitaldownloads.com/docs/edd_after_price_options_list/ Mon, 24 Jan 2022 19:59:54 +0000 https://edd-site.lndo.site/docs/edd_after_price_options_list/ This action runs at the end of the price options (inside of the UL tag) list for variable-price enabled Downloads. do_action( 'edd_after_price_options_list', $download_id, $prices, $type );

The post edd_after_price_options_list first appeared on Easy Digital Downloads.

]]>
This action runs at the end of the price options (inside of the UL tag) list for variable-price enabled Downloads.

do_action( 'edd_after_price_options_list', $download_id, $prices, $type );

The post edd_after_price_options_list first appeared on Easy Digital Downloads.

]]>
edd_after_price_options https://easydigitaldownloads.com/docs/edd_after_price_options/ Mon, 24 Jan 2022 19:59:52 +0000 https://edd-site.lndo.site/docs/edd_after_price_options/ This action runs after the closing DIV tag for the price options list for variable-price enabled Downloads. do_action( 'edd_after_price_options', $download_id );

The post edd_after_price_options first appeared on Easy Digital Downloads.

]]>
This action runs after the closing DIV tag for the price options list for variable-price enabled Downloads.

do_action( 'edd_after_price_options', $download_id );

The post edd_after_price_options first appeared on Easy Digital Downloads.

]]>
wp_ajax_nopriv_edd_apply_discount https://easydigitaldownloads.com/docs/wp_ajax_nopriv_edd_apply_discount/ Mon, 24 Jan 2022 19:59:51 +0000 https://edd-site.lndo.site/docs/wp_ajax_nopriv_edd_apply_discount/ This is the action that is run when the “Apply Discount” link is clicked from the checkout page by a non-logged-in-user.

The post wp_ajax_nopriv_edd_apply_discount first appeared on Easy Digital Downloads.

]]>
This is the action that is run when the “Apply Discount” link is clicked from the checkout page by a non-logged-in-user.

The post wp_ajax_nopriv_edd_apply_discount first appeared on Easy Digital Downloads.

]]>
edd_post_delete_payment_note https://easydigitaldownloads.com/docs/edd_post_delete_payment_note/ Mon, 24 Jan 2022 19:59:50 +0000 https://edd-site.lndo.site/docs/edd_post_delete_payment_note/ This action runs just after a payment note is deleted. do_action( 'edd_post_delete_payment_note', $note_id, $payment_id );

The post edd_post_delete_payment_note first appeared on Easy Digital Downloads.

]]>
This action runs just after a payment note is deleted.

do_action( 'edd_post_delete_payment_note', $note_id, $payment_id );

The post edd_post_delete_payment_note first appeared on Easy Digital Downloads.

]]>
edd_pre_update_discount https://easydigitaldownloads.com/docs/edd_pre_update_discount/ Mon, 24 Jan 2022 19:59:49 +0000 https://edd-site.lndo.site/docs/edd_pre_update_discount/ This action runs just before a discount code is updated. It receives two parameters, `$discount_details` and `$discount_id`. `$discount_details` is an array containing all fields for the discount, such as name, amount, type, etc. do_action( 'edd_pre_update_discount', $discount_details, $discount_id );

The post edd_pre_update_discount first appeared on Easy Digital Downloads.

]]>
This action runs just before a discount code is updated. It receives two parameters, `$discount_details` and `$discount_id`.

`$discount_details` is an array containing all fields for the discount, such as name, amount, type, etc.

do_action( 'edd_pre_update_discount', $discount_details, $discount_id );

The post edd_pre_update_discount first appeared on Easy Digital Downloads.

]]>
edd_post_update_discount_status https://easydigitaldownloads.com/docs/edd_post_update_discount_status/ Mon, 24 Jan 2022 19:59:48 +0000 https://edd-site.lndo.site/docs/edd_post_update_discount_status/ This action just after the status of a discount code is changed. do_action( 'edd_post_update_discount_status', $discount_id, $new_status, $old_status );

The post edd_post_update_discount_status first appeared on Easy Digital Downloads.

]]>
This action just after the status of a discount code is changed.

do_action( 'edd_post_update_discount_status', $discount_id, $new_status, $old_status );

The post edd_post_update_discount_status first appeared on Easy Digital Downloads.

]]>
edd_payment_deleted https://easydigitaldownloads.com/docs/edd_payment_deleted/ Mon, 24 Jan 2022 19:59:46 +0000 https://edd-site.lndo.site/docs/edd_payment_deleted/ This action runs just after a payment has been deleted. do_action( 'edd_payment_deleted', $payment_id );

The post edd_payment_deleted first appeared on Easy Digital Downloads.

]]>
This action runs just after a payment has been deleted.

do_action( 'edd_payment_deleted', $payment_id );

The post edd_payment_deleted first appeared on Easy Digital Downloads.

]]>
edd_payment_mode_before_gateways https://easydigitaldownloads.com/docs/edd_payment_mode_before_gateways/ Mon, 24 Jan 2022 19:59:45 +0000 https://edd-site.lndo.site/docs/edd_payment_mode_before_gateways/ Runs just before the payment mode select drop down. Only runs if at least two payment gateways are enabled.

The post edd_payment_mode_before_gateways first appeared on Easy Digital Downloads.

]]>
Runs just before the payment mode select drop down. Only runs if at least two payment gateways are enabled.

The post edd_payment_mode_before_gateways first appeared on Easy Digital Downloads.

]]>
edd_email_body_footer https://easydigitaldownloads.com/docs/edd_email_body_footer/ Mon, 24 Jan 2022 19:59:44 +0000 https://edd-site.lndo.site/docs/edd_email_body_footer/ This action runs at the bottom of the HTML email receipt sent to customers. The tag outputs just above the tag. do_action( 'edd_email_body_footer' );

The post edd_email_body_footer first appeared on Easy Digital Downloads.

]]>
This action runs at the bottom of the HTML email receipt sent to customers. The tag outputs just above the tag.

do_action( 'edd_email_body_footer' );

The post edd_email_body_footer first appeared on Easy Digital Downloads.

]]>
edd_payment_delete https://easydigitaldownloads.com/docs/edd_payment_delete/ Mon, 24 Jan 2022 19:59:43 +0000 https://edd-site.lndo.site/docs/edd_payment_delete/ This action runs just before a payment is deleted. do_action( 'edd_payment_delete', $payment_id );

The post edd_payment_delete first appeared on Easy Digital Downloads.

]]>
This action runs just before a payment is deleted.

do_action( 'edd_payment_delete', $payment_id );

The post edd_payment_delete first appeared on Easy Digital Downloads.

]]>
edd_admin_sale_notice https://easydigitaldownloads.com/docs/edd_admin_sale_notice/ Mon, 24 Jan 2022 19:59:41 +0000 https://edd-site.lndo.site/docs/edd_admin_sale_notice/ This action runs when the admin new sale alert is sent out. do_action( 'edd_admin_sale_notice', $payment_id, $payment_data );

The post edd_admin_sale_notice first appeared on Easy Digital Downloads.

]]>
This action runs when the admin new sale alert is sent out.

do_action( 'edd_admin_sale_notice', $payment_id, $payment_data );

The post edd_admin_sale_notice first appeared on Easy Digital Downloads.

]]>
edd_post_update_discount https://easydigitaldownloads.com/docs/edd_post_update_discount/ Mon, 24 Jan 2022 19:59:40 +0000 https://edd-site.lndo.site/docs/edd_post_update_discount/ This action runs after a discount code is updated. It receives two parameters, $discount_details and $id. $discount_details is an array containing all fields for the discount, such as name, amount, type, etc. do_action( 'edd_post_update_discount', $discount_details, $id );

The post edd_post_update_discount first appeared on Easy Digital Downloads.

]]>
This action runs after a discount code is updated. It receives two parameters, $discount_details and $id.

$discount_details is an array containing all fields for the discount, such as name, amount, type, etc.

do_action( 'edd_post_update_discount', $discount_details, $id );

The post edd_post_update_discount first appeared on Easy Digital Downloads.

]]>
edd_payment_mode_after_gateways https://easydigitaldownloads.com/docs/edd_payment_mode_after_gateways/ Mon, 24 Jan 2022 19:59:39 +0000 https://edd-site.lndo.site/docs/edd_payment_mode_after_gateways/ Runs just after the payment mode drop down. Only runs if at least two payment gateways are enabled.

The post edd_payment_mode_after_gateways first appeared on Easy Digital Downloads.

]]>
Runs just after the payment mode drop down. Only runs if at least two payment gateways are enabled.

The post edd_payment_mode_after_gateways first appeared on Easy Digital Downloads.

]]>
edd_update_edited_purchase https://easydigitaldownloads.com/docs/edd_update_edited_purchase/ Mon, 24 Jan 2022 19:59:38 +0000 https://edd-site.lndo.site/docs/edd_update_edited_purchase/ This action runs when a payment is edited from the admin screen. do_action( 'edd_update_edited_purchase', $payment_id );

The post edd_update_edited_purchase first appeared on Easy Digital Downloads.

]]>
This action runs when a payment is edited from the admin screen.

do_action( 'edd_update_edited_purchase', $payment_id );

The post edd_update_edited_purchase first appeared on Easy Digital Downloads.

]]>
edd_pre_update_log https://easydigitaldownloads.com/docs/edd_pre_update_log/ Mon, 24 Jan 2022 19:59:37 +0000 https://edd-site.lndo.site/docs/edd_pre_update_log/ This action runs just before a log entry is updated. do_action( 'edd_pre_update_log', $log_id, $log_data, $log_meta );

The post edd_pre_update_log first appeared on Easy Digital Downloads.

]]>
This action runs just before a log entry is updated.

do_action( 'edd_pre_update_log', $log_id, $log_data, $log_meta );

The post edd_pre_update_log first appeared on Easy Digital Downloads.

]]>
edd_pre_remove_cart_discount https://easydigitaldownloads.com/docs/edd_pre_remove_cart_discount/ Mon, 24 Jan 2022 19:59:36 +0000 https://edd-site.lndo.site/docs/edd_pre_remove_cart_discount/ This action just before a discount is removed from the shopping cart. do_action( 'edd_pre_remove_cart_discount', $discount_id );

The post edd_pre_remove_cart_discount first appeared on Easy Digital Downloads.

]]>
This action just before a discount is removed from the shopping cart.

do_action( 'edd_pre_remove_cart_discount', $discount_id );

The post edd_pre_remove_cart_discount first appeared on Easy Digital Downloads.

]]>
edd_pre_insert_log https://easydigitaldownloads.com/docs/edd_pre_insert_log/ Mon, 24 Jan 2022 19:59:35 +0000 https://edd-site.lndo.site/docs/edd_pre_insert_log/ This action runs just before a log entry is recorded. do_action( 'edd_pre_insert_log', $log_data, $log_meta );

The post edd_pre_insert_log first appeared on Easy Digital Downloads.

]]>
This action runs just before a log entry is recorded.

do_action( 'edd_pre_insert_log', $log_data, $log_meta );

The post edd_pre_insert_log first appeared on Easy Digital Downloads.

]]>
edd_checkout_table_header_last https://easydigitaldownloads.com/docs/edd_checkout_table_header_last/ Mon, 24 Jan 2022 19:59:34 +0000 https://edd-site.lndo.site/docs/edd_checkout_table_header_last/ Runs at the end of the checkout cart table header cells. Designed for adding new checkout table columns at the end of the table.

The post edd_checkout_table_header_last first appeared on Easy Digital Downloads.

]]>
Runs at the end of the checkout cart table header cells. Designed for adding new checkout table columns at the end of the table.

The post edd_checkout_table_header_last first appeared on Easy Digital Downloads.

]]>
edd_before_price_options https://easydigitaldownloads.com/docs/edd_before_price_options/ Mon, 24 Jan 2022 19:59:33 +0000 https://edd-site.lndo.site/docs/edd_before_price_options/ This action runs just after the price options are outputted for variable-price enabled Downloads. do_action( 'edd_before_price_options', $download_id );

The post edd_before_price_options first appeared on Easy Digital Downloads.

]]>
This action runs just after the price options are outputted for variable-price enabled Downloads.

do_action( 'edd_before_price_options', $download_id );

The post edd_before_price_options first appeared on Easy Digital Downloads.

]]>
edd_post_delete_discount https://easydigitaldownloads.com/docs/edd_post_delete_discount/ Mon, 24 Jan 2022 19:59:32 +0000 https://edd-site.lndo.site/docs/edd_post_delete_discount/ This action just after a discount code is deleted. It receives one parameters: `$discount_id`. do_action( 'edd_post_delete_discount', $discount_id );

The post edd_post_delete_discount first appeared on Easy Digital Downloads.

]]>
This action just after a discount code is deleted. It receives one parameters: `$discount_id`.

do_action( 'edd_post_delete_discount', $discount_id );

The post edd_post_delete_discount first appeared on Easy Digital Downloads.

]]>
edd_payment_mode_bottom https://easydigitaldownloads.com/docs/edd_payment_mode_bottom/ Mon, 24 Jan 2022 19:59:31 +0000 https://edd-site.lndo.site/docs/edd_payment_mode_bottom/ Runs just after the payment mode selection form. Only runs if at least two payment gateways are enabled.

The post edd_payment_mode_bottom first appeared on Easy Digital Downloads.

]]>
Runs just after the payment mode selection form. Only runs if at least two payment gateways are enabled.

The post edd_payment_mode_bottom first appeared on Easy Digital Downloads.

]]>
edd_checkout_table_footer_first https://easydigitaldownloads.com/docs/edd_checkout_table_footer_first/ Mon, 24 Jan 2022 19:59:30 +0000 https://edd-site.lndo.site/docs/edd_checkout_table_footer_first/ Runs just before the first cell of the checkout cart table footer. Designed for adding new columns to the checkout cart.

The post edd_checkout_table_footer_first first appeared on Easy Digital Downloads.

]]>
Runs just before the first cell of the checkout cart table footer. Designed for adding new columns to the checkout cart.

The post edd_checkout_table_footer_first first appeared on Easy Digital Downloads.

]]>
edd_cc_form https://easydigitaldownloads.com/docs/edd_cc_form/ Mon, 24 Jan 2022 19:59:29 +0000 https://edd-site.lndo.site/docs/edd_cc_form/ Loads the default credit card checkout fields. This action is overwritten by the “edd_{gateway ID}_cc_form” action (if registered).

The post edd_cc_form first appeared on Easy Digital Downloads.

]]>
Loads the default credit card checkout fields. This action is overwritten by the “edd_{gateway ID}_cc_form” action (if registered).

The post edd_cc_form first appeared on Easy Digital Downloads.

]]>
edd_checkout_login_fields_before https://easydigitaldownloads.com/docs/edd_checkout_login_fields_before/ Mon, 24 Jan 2022 19:59:28 +0000 https://edd-site.lndo.site/docs/edd_checkout_login_fields_before/ This action runs at the top of the checkout login fields and can be used for adding additional fields to the login form.

The post edd_checkout_login_fields_before first appeared on Easy Digital Downloads.

]]>
This action runs at the top of the checkout login fields and can be used for adding additional fields to the login form.

The post edd_checkout_login_fields_before first appeared on Easy Digital Downloads.

]]>
wp_ajax_nopriv_edd_add_to_cart https://easydigitaldownloads.com/docs/wp_ajax_nopriv_edd_add_to_cart/ Mon, 24 Jan 2022 19:59:27 +0000 https://edd-site.lndo.site/docs/wp_ajax_nopriv_edd_add_to_cart/ This is the action that is run when an item is added to the cart by a non-logged-in user.

The post wp_ajax_nopriv_edd_add_to_cart first appeared on Easy Digital Downloads.

]]>
This is the action that is run when an item is added to the cart by a non-logged-in user.

The post wp_ajax_nopriv_edd_add_to_cart first appeared on Easy Digital Downloads.

]]>
edd_after_download_content https://easydigitaldownloads.com/docs/edd_after_download_content/ Mon, 24 Jan 2022 19:59:26 +0000 https://edd-site.lndo.site/docs/edd_after_download_content/ This action runs just after the content for a single download is displayed. Usually this happens in single.php or single-download.php. This action is primarily for adding extra content to the bottom of download content, most likely in scenarios where you are unable to modify the template files, or do not have a single-download.php. The download

The post edd_after_download_content first appeared on Easy Digital Downloads.

]]>
This action runs just after the content for a single download is displayed. Usually this happens in single.php or single-download.php.

This action is primarily for adding extra content to the bottom of download content, most likely in scenarios where you are unable to modify the template files, or do not have a single-download.php.

The download ID is passed as a parameter.

The post edd_after_download_content first appeared on Easy Digital Downloads.

]]>
wp_ajax_nopriv_checkout_register https://easydigitaldownloads.com/docs/wp_ajax_nopriv_checkout_register/ Mon, 24 Jan 2022 19:59:25 +0000 https://edd-site.lndo.site/docs/wp_ajax_nopriv_checkout_register/ This action runs when the checkout registration fields are requested via ajax. Only runs for non-logged-in users.

The post wp_ajax_nopriv_checkout_register first appeared on Easy Digital Downloads.

]]>
This action runs when the checkout registration fields are requested via ajax. Only runs for non-logged-in users.

The post wp_ajax_nopriv_checkout_register first appeared on Easy Digital Downloads.

]]>
wp_ajax_nopriv_checkout_login https://easydigitaldownloads.com/docs/wp_ajax_nopriv_checkout_login/ Mon, 24 Jan 2022 19:59:24 +0000 https://edd-site.lndo.site/docs/wp_ajax_nopriv_checkout_login/ This is the action that is run when the checkout login fields are requested via ajax. Is only used for non-logged-in users.

The post wp_ajax_nopriv_checkout_login first appeared on Easy Digital Downloads.

]]>
This is the action that is run when the checkout login fields are requested via ajax. Is only used for non-logged-in users.

The post wp_ajax_nopriv_checkout_login first appeared on Easy Digital Downloads.

]]>
edd_post_insert_log https://easydigitaldownloads.com/docs/edd_post_insert_log/ Mon, 24 Jan 2022 19:59:23 +0000 https://edd-site.lndo.site/docs/edd_post_insert_log/ This action runs just after a log entry is recorded. do_action( 'edd_post_insert_log', $log_id, $log_data, $log_meta );

The post edd_post_insert_log first appeared on Easy Digital Downloads.

]]>
This action runs just after a log entry is recorded.

do_action( 'edd_post_insert_log', $log_id, $log_data, $log_meta );

The post edd_post_insert_log first appeared on Easy Digital Downloads.

]]>
edd_email_body_header https://easydigitaldownloads.com/docs/edd_email_body_header/ Mon, 24 Jan 2022 19:59:22 +0000 https://edd-site.lndo.site/docs/edd_email_body_header/ This action runs at the top of the HTML email receipt sent to customers. The tag outputs just below the tag. do_action( 'edd_email_body_header' );

The post edd_email_body_header first appeared on Easy Digital Downloads.

]]>
This action runs at the top of the HTML email receipt sent to customers. The tag outputs just below the tag.

do_action( 'edd_email_body_header' );

The post edd_email_body_header first appeared on Easy Digital Downloads.

]]>
edd_post_update_log https://easydigitaldownloads.com/docs/edd_post_update_log/ Mon, 24 Jan 2022 19:59:21 +0000 https://edd-site.lndo.site/docs/edd_post_update_log/ This action runs just after a log entry is updated. do_action( 'edd_post_update_log', $log_id, $log_data, $log_meta );

The post edd_post_update_log first appeared on Easy Digital Downloads.

]]>
This action runs just after a log entry is updated.

do_action( 'edd_post_update_log', $log_id, $log_data, $log_meta );

The post edd_post_update_log first appeared on Easy Digital Downloads.

]]>
edd_render_receipt_in_browser_after https://easydigitaldownloads.com/docs/edd_render_receipt_in_browser_after/ Mon, 24 Jan 2022 19:59:19 +0000 https://edd-site.lndo.site/docs/edd_render_receipt_in_browser_after/ This action runs at the bottom of the in-browser purchase receipt. do_action( 'edd_render_receipt_in_browser_after' );

The post edd_render_receipt_in_browser_after first appeared on Easy Digital Downloads.

]]>
This action runs at the bottom of the in-browser purchase receipt.

do_action( 'edd_render_receipt_in_browser_after' );

The post edd_render_receipt_in_browser_after first appeared on Easy Digital Downloads.

]]>
edd_purchase_form_login_fields https://easydigitaldownloads.com/docs/edd_purchase_form_login_fields/ Mon, 24 Jan 2022 19:59:17 +0000 https://edd-site.lndo.site/docs/edd_purchase_form_login_fields/ This action runs at the bottom of the checkout login fields and can be used for adding additional fields to the login form. This action has been deprecated in version 1.0.8.6. Please use edd_checkout_login_fields_after instead.

The post edd_purchase_form_login_fields first appeared on Easy Digital Downloads.

]]>
This action runs at the bottom of the checkout login fields and can be used for adding additional fields to the login form.

This action has been deprecated in version 1.0.8.6. Please use edd_checkout_login_fields_after instead.

The post edd_purchase_form_login_fields first appeared on Easy Digital Downloads.

]]>
edd_before_cc_fields https://easydigitaldownloads.com/docs/edd_before_cc_fields/ Mon, 24 Jan 2022 19:59:16 +0000 https://edd-site.lndo.site/docs/edd_before_cc_fields/ This action runs just before the “edd_cc_fields” fieldset, which contains the default credit card fields.

The post edd_before_cc_fields first appeared on Easy Digital Downloads.

]]>
This action runs just before the “edd_cc_fields” fieldset, which contains the default credit card fields.

The post edd_before_cc_fields first appeared on Easy Digital Downloads.

]]>
edd_after_cart https://easydigitaldownloads.com/docs/edd_after_cart/ Mon, 24 Jan 2022 19:59:15 +0000 https://edd-site.lndo.site/docs/edd_after_cart/ Runs after the shopping cart HTML for the widget, shortcode, and template tag shopping cart. Does not run on the checkout cart.

The post edd_after_cart first appeared on Easy Digital Downloads.

]]>
Runs after the shopping cart HTML for the widget, shortcode, and template tag shopping cart. Does not run on the checkout cart.

The post edd_after_cart first appeared on Easy Digital Downloads.

]]>
edd_purchase_form_top https://easydigitaldownloads.com/docs/edd_purchase_form_top/ Mon, 24 Jan 2022 19:59:14 +0000 https://edd-site.lndo.site/docs/edd_purchase_form_top/ Runs just after the purchase form HTML tag is opened and before any of the input fields.

The post edd_purchase_form_top first appeared on Easy Digital Downloads.

]]>
Runs just after the purchase form HTML tag is opened and before any of the input fields.

The post edd_purchase_form_top first appeared on Easy Digital Downloads.

]]>
edd_checkout_login_fields_after https://easydigitaldownloads.com/docs/edd_checkout_login_fields_after/ Mon, 24 Jan 2022 19:59:12 +0000 https://edd-site.lndo.site/docs/edd_checkout_login_fields_after/ This action runs at the bottom of the checkout login fields and can be used for adding additional fields to the login form.

The post edd_checkout_login_fields_after first appeared on Easy Digital Downloads.

]]>
This action runs at the bottom of the checkout login fields and can be used for adding additional fields to the login form.

The post edd_checkout_login_fields_after first appeared on Easy Digital Downloads.

]]>
edd_process_verified_download https://easydigitaldownloads.com/docs/edd_process_verified_download/ Mon, 24 Jan 2022 19:59:11 +0000 https://edd-site.lndo.site/docs/edd_process_verified_download/ This action runs during the file download process, just after the purchase has been verified but before any headers are sent. do_action( 'edd_process_verified_download', $download_id, $email );

The post edd_process_verified_download first appeared on Easy Digital Downloads.

]]>
This action runs during the file download process, just after the purchase has been verified but before any headers are sent.

do_action( 'edd_process_verified_download', $download_id, $email );

The post edd_process_verified_download first appeared on Easy Digital Downloads.

]]>
edd_checkout_table_header_first https://easydigitaldownloads.com/docs/edd_checkout_table_header_first/ Mon, 24 Jan 2022 19:59:09 +0000 https://edd-site.lndo.site/docs/edd_checkout_table_header_first/ Runs just before the first header cell in the checkout cart. This hooks is primarily for adding new columns to the checkout cart.

The post edd_checkout_table_header_first first appeared on Easy Digital Downloads.

]]>
Runs just before the first header cell in the checkout cart. This hooks is primarily for adding new columns to the checkout cart.

The post edd_checkout_table_header_first first appeared on Easy Digital Downloads.

]]>
edd_{payment gateway ID}_cc_form https://easydigitaldownloads.com/docs/edd_payment-gateway-id_cc_form/ Mon, 24 Jan 2022 19:59:08 +0000 https://edd-site.lndo.site/docs/edd_payment-gateway-id_cc_form/ Runs when a payment mode is selected and is used for loading gateway-specific checkout fields. If the action does not exist, then the default “edd_cc_form” action is run, which loads the default credit card fields.

The post edd_{payment gateway ID}_cc_form first appeared on Easy Digital Downloads.

]]>
Runs when a payment mode is selected and is used for loading gateway-specific checkout fields. If the action does not exist, then the default “edd_cc_form” action is run, which loads the default credit card fields.

The post edd_{payment gateway ID}_cc_form first appeared on Easy Digital Downloads.

]]>
edd_before_payment_status_change https://easydigitaldownloads.com/docs/edd_before_payment_status_change/ Mon, 24 Jan 2022 19:59:06 +0000 https://edd-site.lndo.site/docs/edd_before_payment_status_change/ This action runs just before a payment status is updated. do_action( 'edd_before_payment_status_change', $payment_id, $new_status, $old_status );

The post edd_before_payment_status_change first appeared on Easy Digital Downloads.

]]>
This action runs just before a payment status is updated.

do_action( 'edd_before_payment_status_change', $payment_id, $new_status, $old_status );

The post edd_before_payment_status_change first appeared on Easy Digital Downloads.

]]>
edd_post_insert_discount https://easydigitaldownloads.com/docs/edd_post_insert_discount/ Mon, 24 Jan 2022 19:59:05 +0000 https://edd-site.lndo.site/docs/edd_post_insert_discount/ This action runs after a discount code is created. It receives two parameters: `$discount_details` and `$discount_id`. $discount_details is an array containing all fields for the discount, such as name, type, amount, etc. do_action( 'edd_post_insert_discount', $discount_details, $discount_id );

The post edd_post_insert_discount first appeared on Easy Digital Downloads.

]]>
This action runs after a discount code is created. It receives two parameters: `$discount_details` and `$discount_id`.

$discount_details is an array containing all fields for the discount, such as name, type, amount, etc.

do_action( 'edd_post_insert_discount', $discount_details, $discount_id );

The post edd_post_insert_discount first appeared on Easy Digital Downloads.

]]>
edd_purchase_form_before_submit https://easydigitaldownloads.com/docs/edd_purchase_form_before_submit/ Mon, 24 Jan 2022 19:59:03 +0000 https://edd-site.lndo.site/docs/edd_purchase_form_before_submit/ This action runs at the top of the “edd_purchase_submit” fieldset and just before the purchase submit button.

The post edd_purchase_form_before_submit first appeared on Easy Digital Downloads.

]]>
This action runs at the top of the “edd_purchase_submit” fieldset and just before the purchase submit button.

The post edd_purchase_form_before_submit first appeared on Easy Digital Downloads.

]]>
edd_after_checkout_cart https://easydigitaldownloads.com/docs/edd_after_checkout_cart/ Mon, 24 Jan 2022 19:59:02 +0000 https://edd-site.lndo.site/docs/edd_after_checkout_cart/ Runs after the checkout cart table.

The post edd_after_checkout_cart first appeared on Easy Digital Downloads.

]]>
Runs after the checkout cart table.

The post edd_after_checkout_cart first appeared on Easy Digital Downloads.

]]>
edd_remove https://easydigitaldownloads.com/docs/edd_remove/ Mon, 24 Jan 2022 19:59:00 +0000 https://edd-site.lndo.site/docs/edd_remove/ This action runs when an item is removed from the cart. Does not run when using ajax to remove items.

The post edd_remove first appeared on Easy Digital Downloads.

]]>
This action runs when an item is removed from the cart. Does not run when using ajax to remove items.

The post edd_remove first appeared on Easy Digital Downloads.

]]>
edd_purchase_form_bottom https://easydigitaldownloads.com/docs/edd_purchase_form_bottom/ Mon, 24 Jan 2022 19:58:59 +0000 https://edd-site.lndo.site/docs/edd_purchase_form_bottom/ This action runs at the bottom of the purchase form, just before the closing tag.

The post edd_purchase_form_bottom first appeared on Easy Digital Downloads.

]]>
This action runs at the bottom of the purchase form, just before the closing

tag.

The post edd_purchase_form_bottom first appeared on Easy Digital Downloads.

]]>
wp_ajax_edd_get_download_title https://easydigitaldownloads.com/docs/wp_ajax_edd_get_download_title/ Mon, 24 Jan 2022 19:58:58 +0000 https://edd-site.lndo.site/docs/wp_ajax_edd_get_download_title/ This action runs when the title of a downloadable product is requested via ajax.

The post wp_ajax_edd_get_download_title first appeared on Easy Digital Downloads.

]]>
This action runs when the title of a downloadable product is requested via ajax.

The post wp_ajax_edd_get_download_title first appeared on Easy Digital Downloads.

]]>
wp_ajax_edd_apply_discount https://easydigitaldownloads.com/docs/wp_ajax_edd_apply_discount/ Mon, 24 Jan 2022 19:58:55 +0000 https://edd-site.lndo.site/docs/wp_ajax_edd_apply_discount/ This is the action that is run when the “Apply Discount” link is clicked from the checkout page by a logged-in-user.

The post wp_ajax_edd_apply_discount first appeared on Easy Digital Downloads.

]]>
This is the action that is run when the “Apply Discount” link is clicked from the checkout page by a logged-in-user.

The post wp_ajax_edd_apply_discount first appeared on Easy Digital Downloads.

]]>
edd_before_purchase_form https://easydigitaldownloads.com/docs/edd_before_purchase_form/ Mon, 24 Jan 2022 19:58:52 +0000 https://edd-site.lndo.site/docs/edd_before_purchase_form/ Runs just before the purchase form (the form users enter all of the personal information into).

The post edd_before_purchase_form first appeared on Easy Digital Downloads.

]]>
Runs just before the purchase form (the form users enter all of the personal information into).

The post edd_before_purchase_form first appeared on Easy Digital Downloads.

]]>
edd_before_checkout_cart https://easydigitaldownloads.com/docs/edd_before_checkout_cart/ Mon, 24 Jan 2022 19:58:51 +0000 https://edd-site.lndo.site/docs/edd_before_checkout_cart/ Runs just before the cart table begins on the checkout page.

The post edd_before_checkout_cart first appeared on Easy Digital Downloads.

]]>
Runs just before the cart table begins on the checkout page.

The post edd_before_checkout_cart first appeared on Easy Digital Downloads.

]]>
edd_before_download_content https://easydigitaldownloads.com/docs/edd_before_download_content/ Mon, 24 Jan 2022 19:58:50 +0000 https://edd-site.lndo.site/docs/edd_before_download_content/ Runs just before the content for a single download is displayed. Usually this happens in single.php or single-download.php. This action is primarily for adding extra content to the top of download content, most likely in scenarios where you are unable to modify the template files, or do not have a single-download.php. The download ID is

The post edd_before_download_content first appeared on Easy Digital Downloads.

]]>
Runs just before the content for a single download is displayed. Usually this happens in single.php or single-download.php.

This action is primarily for adding extra content to the top of download content, most likely in scenarios where you are unable to modify the template files, or do not have a single-download.php.

The download ID is passed as a parameter.

The post edd_before_download_content first appeared on Easy Digital Downloads.

]]>
edd_purchase_form_register_fields https://easydigitaldownloads.com/docs/edd_purchase_form_register_fields/ Mon, 24 Jan 2022 19:58:48 +0000 https://edd-site.lndo.site/docs/edd_purchase_form_register_fields/ This action runs at the bottom of the checkout registration fields and can be used for adding additional fields to the registration form.

The post edd_purchase_form_register_fields first appeared on Easy Digital Downloads.

]]>
This action runs at the bottom of the checkout registration fields and can be used for adding additional fields to the registration form.

The post edd_purchase_form_register_fields first appeared on Easy Digital Downloads.

]]>
edd_purchase_form_user_info https://easydigitaldownloads.com/docs/edd_purchase_form_user_info/ Mon, 24 Jan 2022 19:58:47 +0000 https://edd-site.lndo.site/docs/edd_purchase_form_user_info/ Runs at the bottom of the “edd_checkout_user_info” fieldset. This is the set of fields for entering email, first and last names.

The post edd_purchase_form_user_info first appeared on Easy Digital Downloads.

]]>
Runs at the bottom of the “edd_checkout_user_info” fieldset. This is the set of fields for entering email, first and last names.

The post edd_purchase_form_user_info first appeared on Easy Digital Downloads.

]]>
edd_before_cart https://easydigitaldownloads.com/docs/edd_before_cart/ Mon, 24 Jan 2022 19:58:46 +0000 https://edd-site.lndo.site/docs/edd_before_cart/ Runs just before the shopping cart HTML. Included in the widget, short code, and template tag shopping cart. Does not run on the checkout page.

The post edd_before_cart first appeared on Easy Digital Downloads.

]]>
Runs just before the shopping cart HTML. Included in the widget, short code, and template tag shopping cart. Does not run on the checkout page.

The post edd_before_cart first appeared on Easy Digital Downloads.

]]>
edd_pre_insert_discount https://easydigitaldownloads.com/docs/edd_pre_insert_discount/ Mon, 24 Jan 2022 19:58:42 +0000 https://edd-site.lndo.site/docs/edd_pre_insert_discount/ This action runs just before a discount code is created. It receives one parameter: $discount_details. $discount_details is an array containing all fields for the discount, such as name, type, amount, etc. do_action( 'edd_pre_insert_discount', $discount_details );

The post edd_pre_insert_discount first appeared on Easy Digital Downloads.

]]>
This action runs just before a discount code is created. It receives one parameter: $discount_details.

$discount_details is an array containing all fields for the discount, such as name, type, amount, etc.

do_action( 'edd_pre_insert_discount', $discount_details );

The post edd_pre_insert_discount first appeared on Easy Digital Downloads.

]]>
edd_after_price_option https://easydigitaldownloads.com/docs/edd_after_price_option/ Mon, 24 Jan 2022 19:58:35 +0000 https://edd-site.lndo.site/docs/edd_after_price_option/ This action runs just after a price option is printed for variable-price enabled Downloads. do_action( 'edd_after_price_option', $price_id, $price_data, $download_id );

The post edd_after_price_option first appeared on Easy Digital Downloads.

]]>
This action runs just after a price option is printed for variable-price enabled Downloads.

do_action( 'edd_after_price_option', $price_id, $price_data, $download_id );

The post edd_after_price_option first appeared on Easy Digital Downloads.

]]>
edd_payment_mode_top https://easydigitaldownloads.com/docs/edd_payment_mode_top/ Mon, 24 Jan 2022 19:58:34 +0000 https://edd-site.lndo.site/docs/edd_payment_mode_top/ Runs just before the payment mode selection form. Only runs if there are at least two payment gateways enabled.

The post edd_payment_mode_top first appeared on Easy Digital Downloads.

]]>
Runs just before the payment mode selection form. Only runs if there are at least two payment gateways enabled.

The post edd_payment_mode_top first appeared on Easy Digital Downloads.

]]>
edd_checkout_form_top https://easydigitaldownloads.com/docs/edd_checkout_form_top/ Mon, 24 Jan 2022 19:58:31 +0000 https://edd-site.lndo.site/docs/edd_checkout_form_top/ This action runs just after the div#edd_checkout_form_wrap opens.

The post edd_checkout_form_top first appeared on Easy Digital Downloads.

]]>
This action runs just after the
div#edd_checkout_form_wrap opens.

The post edd_checkout_form_top first appeared on Easy Digital Downloads.

]]>
edd_cart_empty https://easydigitaldownloads.com/docs/edd_cart_empty/ Mon, 24 Jan 2022 19:58:27 +0000 https://edd-site.lndo.site/docs/edd_cart_empty/ This action runs on the checkout page if the cart is empty.

The post edd_cart_empty first appeared on Easy Digital Downloads.

]]>
This action runs on the checkout page if the cart is empty.

The post edd_cart_empty first appeared on Easy Digital Downloads.

]]>
edd_purchase_link_top https://easydigitaldownloads.com/docs/edd_purchase_link_top/ Mon, 24 Jan 2022 19:58:26 +0000 https://edd-site.lndo.site/docs/edd_purchase_link_top/ This action runs just before the purchase link is outputted, both for the `[purchase_link]` short code and the `edd_get_purchase_link()` function. do_action( 'edd_purchase_link_top', $download_id, $show_price );

The post edd_purchase_link_top first appeared on Easy Digital Downloads.

]]>
This action runs just before the purchase link is outputted, both for the `[purchase_link]` short code and the `edd_get_purchase_link()` function.

do_action( 'edd_purchase_link_top', $download_id, $show_price );

The post edd_purchase_link_top first appeared on Easy Digital Downloads.

]]>
edd_after_cc_fields https://easydigitaldownloads.com/docs/edd_after_cc_fields/ Mon, 24 Jan 2022 19:58:22 +0000 https://edd-site.lndo.site/docs/edd_after_cc_fields/ This action runs at the bottoms of the credit card fields section for the default credit card form. Not necessarily used by add-on gateways.

The post edd_after_cc_fields first appeared on Easy Digital Downloads.

]]>
This action runs at the bottoms of the credit card fields section for the default credit card form. Not necessarily used by add-on gateways.

The post edd_after_cc_fields first appeared on Easy Digital Downloads.

]]>
edd_api_output_{format} https://easydigitaldownloads.com/docs/edd_api_output_format/ Mon, 24 Jan 2022 19:58:16 +0000 https://edd-site.lndo.site/docs/edd_api_output_format/ This action runs when printing the response data to the screen for a custom data format when performing an EDD_APIrequest. do_action( 'edd_api_output_{format}', $data, $api_object );

The post edd_api_output_{format} first appeared on Easy Digital Downloads.

]]>
This action runs when printing the response data to the screen for a custom data format when performing an EDD_APIrequest.

do_action( 'edd_api_output_{format}', $data, $api_object );

The post edd_api_output_{format} first appeared on Easy Digital Downloads.

]]>
edd_render_receipt_in_browser_before https://easydigitaldownloads.com/docs/edd_render_receipt_in_browser_before/ Mon, 24 Jan 2022 19:58:12 +0000 https://edd-site.lndo.site/docs/edd_render_receipt_in_browser_before/ This action runs at the top of the in-browser purchase receipt. do_action( 'edd_render_receipt_in_browser_before' );

The post edd_render_receipt_in_browser_before first appeared on Easy Digital Downloads.

]]>
This action runs at the top of the in-browser purchase receipt.

do_action( 'edd_render_receipt_in_browser_before' );

The post edd_render_receipt_in_browser_before first appeared on Easy Digital Downloads.

]]>
edd_email_template_{template name} https://easydigitaldownloads.com/docs/edd_email_template_template-name/ Mon, 24 Jan 2022 19:58:11 +0000 https://edd-site.lndo.site/docs/edd_email_template_template-name/ This action runs in the body section of the emailed purchase receipt. It is used to rendering the HTML structure of each purchase receipt template. do_action( 'edd_email_template_' . $template_name );

The post edd_email_template_{template name} first appeared on Easy Digital Downloads.

]]>
This action runs in the body section of the emailed purchase receipt. It is used to rendering the HTML structure of each purchase receipt template.

do_action( 'edd_email_template_' . $template_name );

The post edd_email_template_{template name} first appeared on Easy Digital Downloads.

]]>
edd_purchase_link_end https://easydigitaldownloads.com/docs/edd_purchase_link_end/ Mon, 24 Jan 2022 19:58:04 +0000 https://edd-site.lndo.site/docs/edd_purchase_link_end/ This action runs just after the purchase link is outputted, both for the `[purchase_link]` short code and the `edd_get_purchase_link()` function. do_action( 'edd_purchase_link_end', $download_id );

The post edd_purchase_link_end first appeared on Easy Digital Downloads.

]]>
This action runs just after the purchase link is outputted, both for the `[purchase_link]` short code and the `edd_get_purchase_link()` function.

do_action( 'edd_purchase_link_end', $download_id );

The post edd_purchase_link_end first appeared on Easy Digital Downloads.

]]>
edd_purchase_form_after_submit https://easydigitaldownloads.com/docs/edd_purchase_form_after_submit/ Mon, 24 Jan 2022 19:58:03 +0000 https://edd-site.lndo.site/docs/edd_purchase_form_after_submit/ This action runs at the end of the “edd_purchase_submit” fieldset and just after the purchase submit button.

The post edd_purchase_form_after_submit first appeared on Easy Digital Downloads.

]]>
This action runs at the end of the “edd_purchase_submit” fieldset and just after the purchase submit button.

The post edd_purchase_form_after_submit first appeared on Easy Digital Downloads.

]]>
edd_after_purchase_form https://easydigitaldownloads.com/docs/edd_after_purchase_form/ Mon, 24 Jan 2022 19:58:02 +0000 https://edd-site.lndo.site/docs/edd_after_purchase_form/ This action runs just after the purchase form, after the closing tag.

The post edd_after_purchase_form first appeared on Easy Digital Downloads.

]]>
This action runs just after the purchase form, after the closing

tag.

The post edd_after_purchase_form first appeared on Easy Digital Downloads.

]]>
edd_api_output_after https://easydigitaldownloads.com/docs/edd_api_output_after/ Mon, 24 Jan 2022 19:57:55 +0000 https://edd-site.lndo.site/docs/edd_api_output_after/ This action runs just after the json/xml is printed to the screen when performing an EDD_API request. do_action( 'edd_api_output_after', $data, $api_object, $format );

The post edd_api_output_after first appeared on Easy Digital Downloads.

]]>
This action runs just after the json/xml is printed to the screen when performing an EDD_API request.

do_action( 'edd_api_output_after', $data, $api_object, $format );

The post edd_api_output_after first appeared on Easy Digital Downloads.

]]>
edd_complete_download_purchase https://easydigitaldownloads.com/docs/edd_complete_download_purchase/ Mon, 24 Jan 2022 19:57:54 +0000 https://edd-site.lndo.site/docs/edd_complete_download_purchase/ This action runs once for each download product that is purchased. It runs only once the payment is marked as complete. Since EDD v1.6 do_action( 'edd_complete_download_purchase', $download_id, $payment_id, $download_type );

The post edd_complete_download_purchase first appeared on Easy Digital Downloads.

]]>
This action runs once for each download product that is purchased. It runs only once the payment is marked as complete.

Since EDD v1.6

do_action( 'edd_complete_download_purchase', $download_id, $payment_id, $download_type );

The post edd_complete_download_purchase first appeared on Easy Digital Downloads.

]]>
wp_ajax_edd_add_to_cart https://easydigitaldownloads.com/docs/wp_ajax_edd_add_to_cart/ Mon, 24 Jan 2022 19:57:51 +0000 https://edd-site.lndo.site/docs/wp_ajax_edd_add_to_cart/ This is the action that is run when an item is added to the cart by a logged-in user.

The post wp_ajax_edd_add_to_cart first appeared on Easy Digital Downloads.

]]>
This is the action that is run when an item is added to the cart by a logged-in user.

The post wp_ajax_edd_add_to_cart first appeared on Easy Digital Downloads.

]]>
edd_insert_payment https://easydigitaldownloads.com/docs/edd_insert_payment/ Mon, 24 Jan 2022 19:57:48 +0000 https://edd-site.lndo.site/docs/edd_insert_payment/ This actions runs just after a payment is inserted into the database. do_action( 'edd_insert_payment', $payment_id, $payment_data ); $payment_id is the ID number of the payment that has just been created. $payment_data is an array of data associated with the payment, such as price, user email, user id, purchase key, cart items, and other pieces of

The post edd_insert_payment first appeared on Easy Digital Downloads.

]]>
This actions runs just after a payment is inserted into the database.

do_action( 'edd_insert_payment', $payment_id, $payment_data );

$payment_id is the ID number of the payment that has just been created.

$payment_data is an array of data associated with the payment, such as price, user email, user id, purchase key, cart items, and other pieces of payment meta.

Note, payments are usually created with a status of “pending”, so this action is not reliable to use if you wish to perform a function when purchases are marked as complete. Use 
edd_update_payment_status instead.

The post edd_insert_payment first appeared on Easy Digital Downloads.

]]>
edd_add_to_cart https://easydigitaldownloads.com/docs/edd_add_to_cart/ Mon, 24 Jan 2022 19:57:35 +0000 https://edd-site.lndo.site/docs/edd_add_to_cart/ This action runs when an item is added to the cart. Does not run when an item is added with ajax.

The post edd_add_to_cart first appeared on Easy Digital Downloads.

]]>
This action runs when an item is added to the cart. Does not run when an item is added with ajax.

The post edd_add_to_cart first appeared on Easy Digital Downloads.

]]>
edd_update_payment_status https://easydigitaldownloads.com/docs/edd_update_payment_status/ Mon, 24 Jan 2022 19:57:08 +0000 https://edd-site.lndo.site/docs/edd_update_payment_status/ This action runs after a payment status has been updated. do_action( 'edd_update_payment_status', $payment_id, $new_status, $old_status );

The post edd_update_payment_status first appeared on Easy Digital Downloads.

]]>
This action runs after a payment status has been updated.

do_action( 'edd_update_payment_status', $payment_id, $new_status, $old_status );

The post edd_update_payment_status first appeared on Easy Digital Downloads.

]]>
edd_complete_purchase https://easydigitaldownloads.com/docs/edd_complete_purchase/ Mon, 24 Jan 2022 19:57:05 +0000 https://edd-site.lndo.site/docs/edd_complete_purchase/ This action runs when a payment is marked as complete. Since EDD v1.6 do_action( 'edd_complete_purchase', $payment_id ); Simple example function pw_edd_on_complete_purchase( $payment_id ) { // Basic payment meta $payment_meta = edd_get_payment_meta( $payment_id ); // Cart details $cart_items = edd_get_payment_meta_cart_details( $payment_id ); // do something with payment data here } add_action( 'edd_complete_purchase', 'pw_edd_on_complete_purchase' );

The post edd_complete_purchase first appeared on Easy Digital Downloads.

]]>
This action runs when a payment is marked as complete.

Since EDD v1.6

do_action( 'edd_complete_purchase', $payment_id );

Simple example

function pw_edd_on_complete_purchase( $payment_id ) {
	// Basic payment meta
	$payment_meta = edd_get_payment_meta( $payment_id );
	// Cart details
	$cart_items = edd_get_payment_meta_cart_details( $payment_id );
	// do something with payment data here
}
add_action( 'edd_complete_purchase', 'pw_edd_on_complete_purchase' );

The post edd_complete_purchase first appeared on Easy Digital Downloads.

]]>