CARVIEW |
Select Language
HTTP/2 301
date: Sat, 11 Oct 2025 20:20:04 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_entries_primary_column_filter/
server: cloudflare
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
x-redirect-by: WordPress
fastcgi-cache: MISS
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=dhRLd%2Bcnc3AGC4bx3nuu3SUfFPfkDeovRZY62vyJ1mgOC99VB8zQ0iCtqmSUt8NbjJULGL564LTym9PrkCQ4ZSmRa76QP3DFQ%2FsGZEoF36PcxDXe"}]}
cf-ray: 98d10e4aa983c151-BLR
HTTP/2 200
date: Sat, 11 Oct 2025 20:20:05 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=NbGGt%2FsXzlktx5QMLTVz5I5UIuWqowm7SLN6uh6tDDRPLahK04h0SeJEUoeL8R476YaaU%2B9G5G8gjjvTa0y8jc9NWZKM3Ab4yRUpOvLoSNCCWa%2BA"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98d10e59dd33c151-BLR
Gform Entries Primary Column Filter: Guide
gform_entries_primary_column_filter
Description
The gform_entries_primary_column_filter
filter is used to modify the contents of the first column in the entries list table.
Usage
The filter which runs for all forms would be used like so:
add_filter( 'gform_entries_primary_column_filter', 'your_function_name', 10, 7 );
Parameters
- $column_value string
The column value to be filtered. Contains the field value wrapped in a link/a tag. - $form_id integer
The ID of the current form. - $field_id integer|string
The ID of the field or the name of an entry column (i.e. date_created). - $entry array
The Entry object. - $query_string string
The current page’s query string. - $edit_url string
The url to the entry edit page. - $value string
The value of the field.
Example
add_filter( 'gform_entries_primary_column_filter', function( $column_value, $form_id, $field_id, $entry, $query_string, $edit_url, $field_value ) {
if ( $form_id == 56 ) {
$column_value = '<a href="' . $edit_url . '">Click to view entry</a>';
}
return $column_value;
}, 10, 7 );
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Since
This filter was added in Gravity Forms v2.7
Source Code
This filter is located in GF_Entry_List_Table::column_default() in entry_list.php.