gform_pre_entry_detail

Description

Fires before the entry detail page is displayed.

Usage

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

Parameters

Example

add_action( 'gform_pre_entry_detail', 'mark_entry_read', 10, 2 );
function mark_entry_read( $form, $entry ){
echo 'Hello, World!';
}

Placement

This code should be placed in the functions.php file of your active theme.

Since

This action was added in Gravity Forms version 2.3.3.9.

Source Code

This action is located in GFEntryDetail::lead_detail_page in entry_detail.php.