gform_entries_first_column

Description

Use this action hook to add content to the entry list’s first column.

Usage

add_action( 'gform_entries_first_column', 'first_column_content', 10, 5 );

Parameters

  • $form_id integer

    The ID of the form from which the entry value was submitted.

  • $field_id integer

    The ID of the field from which the entry value was submitted.

  • $value string

    The entry value of the field id for the current lead.

  • $entry Entry Object

    The current entry.

  • $query_string string

    The current page’s query string in the format “name1=val1&name2=val2”.

Examples

This is a very basic example that demonstrates how to add the content “Sample Text” to the entry list’s first column.

add_action( 'gform_entries_first_column', 'first_column_content', 10, 5 );
function first_column_content( $form_id, $field_id, $value, $entry, $query_string ) {
echo 'Sample text.';
}

Source Code

This filter is located in GFEntryList::leads_page() in entry_list.php.