Gform print entry footer

Description

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

Usage

<?php
add_action("gform_print_entry_footer", "custom_footer", 10, 2);
?>

Parameters

$form

(Form Object) Current form.

$lead

(array) Current Entry array

Examples

This example adds a custom footer to the Print Entry screen


<?php
add_action("gform_print_entry_footer", "custom_footer", 10, 2);
function custom_footer($form, $entry){
   echo "<hr /><small>My custom footer</small>";
}
?>

Source Code

This filter is located in print-entry.php

Search the Documentation