bookmark_bordergform_print_entry_header

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

    Current form.

  • $entry Entry Object

    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>My custom header</h2>";
}

Source Code

This filter is located in print-entry.php