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

edd_update_discount

This filter is applied to the discount data just before a discount is created.

apply_filters( 'edd_insert_discount', $discount_details);

$discount_details is an array of all fields for the discount.