Gform print entry header

Description

This action hook can be used to add a custom header to the print entry screen.

Usage

<?php
add_action("gform_print_entry_header", "custom_header", 10, 2);
?>

Parameters

$form

(Form Object) Current form.

$lead

(array) Current Entry array

Examples

This example adds a custom header to the Print Entry screen


<?php
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

Search the Documentation