Gform entry info

Description

Use this hook to add custom entry information to the Info area on the Entry detail page.

Usage

<?php

add_action("gform_entry_info", "my_entry_info", 10, 2);

?>

Parameters

$form_id
(string) The ID of the form from which the entry was submitted.
$lead
(Lead Object) The current entry.

Examples

This very basic example will output "Hello" in the Info panel on the Entry Detail view. Example output: [1].

<?php

add_action("gform_entry_info", "my_entry_info", 10, 2);
function my_entry_info($form_id, $lead) {
    
    echo 'Hello';
    
}

?>

Source Code

This filter is located in entry_detail.php

Search the Documentation