gform_post_send_entry_note

Description

The gform_post_send_entry_note action is triggered after an entry note is emailed, allowing further actions to be performed.

Usage

add_action( 'gform_post_send_entry_note', 'my_function', 10, 7 );

Parameters

ParameterTypeDescription
$resultstringThe success or failure message, based on if the email was sent successfully or not.
$email_tostringThe address that the email was sent to.
$email_fromstringThe email address that the email was sent from.
$email_subjectstringThe subject of the email sent.
$bodyMixedThe body of the email sent.
$formForm ObjectThe current form object.
$entryEntry ObjectThe current entry object.

Examples

Perform an action after an entry note is emailed.

function my_function() {
	//Do something here
}
add_action( 'gform_post_send_entry_note', 'my_function', 10, 7 );

Placement

This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.

See also the PHP section in this article: Where Do I Put This Code?

Source Code

This action hook is located in entry_detail.php.