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

Parameters

$post_id

(integer) Post contact form lives on

$all_values

(array) Contact form fields

$extra_values

(array) Contact form fields not included in $all_values


Changelog

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