do_action ( 'grunion_after_message_sent', int $post_id, string $to, string $subject, string $message, string $headers, array $all_values, array $extra_values )

Fires an action hook right after the email(s) have been sent.

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

View in GitHub

Parameters

$post_id

(int) Post contact form lives on.

$to

(string) Array of valid email addresses, or single email address.

$subject

(string) Feedback email subject.

$message

(string) Feedback email message.

$headers

(string) Optional. Additional headers.

$all_values

(array) Contact form fields.

$extra_values

(array) Contact form fields not included in $all_values


Changelog

Since: Jetpack 7.3.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s