Description
This action hook can be used to add a custom footer to the print entry screen.
Usage
add_action( 'gform_print_entry_footer', 'custom_footer', 10, 2 );
Parameters
Parameter | Type | Description |
---|---|---|
$form | Form Object | The current form. |
$entry | Entry Object | The current entry array. |
Examples
This example adds a custom footer to the Print Entry screen.
add_action( 'gform_print_entry_footer', 'custom_footer', 10, 2 );
function custom_footer( $form, $entry ) {
echo "<hr /><small>My custom footer</small>";
}
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 filter is located in print-entry.php.