DELETE action not respecting gform_disable_notification filter
-
Hi – I’m using the GF filter ‘gform_disable_notification’ in my theme to disable all notifications for forms, then send them programmatically.
However because you are using GFCommon:send_notifications() (which doesn’t apply the filter) the email is still being sent. It’s not a big deal as I can go into each form and set the Sticky List preference but I did contact GF, and they recommended that 3rd party plugins should use GFAPI:send_notifcations() instead because that function DOES respect the disable filter.
Just a thought in case you want to update #1129 in class-sticky-list.php to use the recommended function.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘DELETE action not respecting gform_disable_notification filter’ is closed to new replies.