gform_post_send_entry_note

gform_post_send_entry_note

DescriptionUsageParametersExamplesSource Code

Description
The 「gform_post_send_entry_note」 action is triggered after an entry note is emailed, allowing further actions to be performed.
Usage
1add_action( 'gform_post_send_entry_note', 'my_function', 10, 7 );

Parameters

$result string
The success or failure message, based on if the email was sent successfully or not.

$email_to string
The address that the email was sent to.

$email_from string
The email address that the email was sent from.

$email_subject string
The subject of the email sent.

$body Mixed
The body of the email sent.

$form Form Object
The current form object.

$entry Entry Object
The current entry object.

Examples
1234function my_function() {    //Do something here}add_action( 'gform_post_send_entry_note', 'my_function', 10, 7 );
Source Code
This action hook is located in entry_detail.php.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注