gform_post_add_entry

Description

This hook fires after an entry has been added via GFAPI::add_entry().

Usage

add_action( 'gform_post_add_entry', 'your_function_name', 10, 2 );

Parameters

Example

add_action( 'gform_post_add_entry', 'log_post_add_entry', 10, 2 );
function log_post_add_entry( $entry, $form ) {
GFCommon::log_debug( 'gform_post_add_entry: entry => ' . print_r( $entry, 1 ) );
}

Source Code

This action is located in GFAPI::add_entry() in includes/api.php.