Description
Use this action hook to add content to the entry list's first column.
Usage
<?php
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.
- $lead
- (Lead Object) The current lead.
- $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. Example output: [1].
<?php
add_action('gform_entries_first_column', 'first_column_content', 10, 5);
function first_column_content($form_id, $field_id, $value, $lead, $query_string) {
echo 'Sample text.';
}
?>
Source Code
This filter is located in entry_list.php