do_action ( 'grunion_pre_message_sent', integer $post_id, array $all_values, array $extra_values )

Fires right before the contact form message is sent via email to the recipient specified in the contact form.

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

View in GitHub



(integer) Post contact form lives on


(array) Contact form fields


(array) Contact form fields not included in $all_values


Since: Jetpack 1.3.1

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