DescriptionUsageParametersExamplesPlacementSource Code
Description
Use this action hook to add extra text/sections after the main content on the Entry detail page.
Usage
1add_action( 'gform_entry_detail_content_after', 'add_main_text_after', 10, 2 );
Parameters
$form Form Object
The form from which the entry value was submitted.
$entry Entry Object
The current entry.
Examples
This example adds a new section with a header and text.
1234add_action( 'gform_entry_detail_content_after', 'add_main_text_after', 10, 2 );function add_main_text_after( $form, $entry ) { echo '
Main Content After |
---|
some stuff |
';}
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFEntryDetail::lead_detail_page() in entry_detail.php.