Coupons Filters
Articles
gform_coupons_post_delete_coupon
This JavaScript action fires after a coupon is deleted from a field, allowing further actions to be performed.
gform_coupons_is_valid_code
Overrides coupon code alphanumeric checking.
gform_coupons_discount_amount
This filter can be used to modify the coupon discount before it is applied to the form total.
gform_coupons_can_apply_coupon
This PHP filter allows custom logic to be used to determine if the coupon code can be applied.
GFCoupons
GFCoupons is the class which houses the main functionality of the Gravity Forms Coupons Add-on; it extends the GFFeedAddOn class which is part of the add-on framework.
Coupons Feed Meta
The Feed Object meta for the Coupons add-on is an associative array containing the properties which determine the type of coupon and discount available.