Skip to main content
Easy Digital Downloads Documentation
Documentation, Reference Materials, and Tutorials for Easy Digital Downloads

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 );
Read our latest blog post:
Add More Stripe Payment Methods at Checkout