[Plugin: Gravity Forms eWAY] Use eway filters only on specific forms
-
I have a couple of payment forms with different gravity formid’s used for different purposes on the same site.
To modify the eway invoice description I am using the gfeway_invoice_desc filter but this modifies the description of all forms
It doesn’t seem possible to add a filter with a special name like gfeway_invoice_desc_12 so it will only apply to formid 12
I can put some logic in to check for the formid within the filter function but before doing so wanted to check if I am not doing it right or if there is another elegant solution (maybe wrap in a gravity form pre-submission filter.
This is a great plugin!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Gravity Forms eWAY] Use eway filters only on specific forms’ is closed to new replies.