apply_filters ( 'grunion_should_send_email', bool true, int $post_id )

Filter to choose whether an email should be sent after each successful contact form submission.

Source file: modules/contact-form/grunion-contact-form.php

View in GitHub



(bool) true Should an email be sent after a form submission. Default to true.


(int) Post ID.


Since: Jetpack 2.6.0

Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us