gform_print_entry_header

gform_print_entry_header

DescriptionUsageParametersExamplesSource Code

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 "

Date and Time: " . $entry['date_created'] . "

";
}

Source Code
This filter is located in print-entry.php.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注