gform_pre_entry_list

Description

This hook fires before the entry list content is generated. Echoed content would appear above the page title.

Usage

The following would run for all forms:

add_action( 'gform_pre_entry_list', 'your_function_name' );

Parameters

  • $form_id integer

    The ID of the form the entry list is being displayed for.

Example

add_action( 'gform_pre_entry_list', 'echo_content' );
function echo_content( $form_id ) {
    echo 'some content here';
}

Source Code

do_action( 'gform_pre_entry_list', $form_id );

This hook is located in GFEntryList::all_leads_page() in entry_list.php.

Since

This hook was added in Gravity Forms 1.9.13.21.