Description
This action hook can be used to add a custom header to the print entry screen.
Usage
add_action( 'gform_print_entry_header', 'custom_header', 10, 2 );
Parameters
- $form Form Object
The current form.
-
$entry Entry Object
The current entry object.
Examples
This example adds a custom header to the Print Entry screen.
add_action( 'gform_print_entry_header', 'custom_header', 10, 2 ); function custom_header( $form, $entry ) { echo "<h2>Date and Time: " . $entry['date_created'] . "</h2>"; }
Source Code
This filter is located in print-entry.php.