Add filter to disable emails
-
Hello there,
We use this great plugin in a bit custom system and send the result of the scan via API to another backend. As we use another way of notifications we don’t need emails at all. It’s possible to add a “fake” address to stop emails, but it looks like not a very elegant solution.
Is it possible to add a filter in the
WFCM_Email::send()
function to stop sending? It would be great to have if…else or other condition with filter aboveadd_filter( 'wp_mail_content_type', array( __CLASS__, 'set_html_content_type' ) );
in that function.
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add filter to disable emails’ is closed to new replies.