Add coupon codes
add_filter(‘frm_add_entry_meta’, ‘apply_my_coupon’); function apply_my_coupon($values){ if($values[‘field_id’] == 25){ //change 25 to the ID of the price field $coupon_field = 26; //change 26 to the ID of the coupon code field $discount_field = 30; //Change 30 to the ID of the discount…Continue reading