| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 06:41:01 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_form_list_forms/
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
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
x-redirect-by: WordPress
fastcgi-cache: EXPIRED
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=fg1CusjP9z5jmkDywjZgJFyHFNlK%2BC5LjZZCdooP%2BfW4p72CmZlzVLEuB5O%2BjkRUy%2FNitaRoB0cRqmgiopTSmQHGjU94gUwdwj69Uyu1Vnr6Li4%2F"}]}
cf-ray: 9b46d46c3ca0d817-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 06:41:01 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
content-security-policy: frame-ancestors 'self';
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=CJOp6SMeRNiht2RpvLcTA18mbdrKWeK6CsADnBqQoMgvZ2MPR2XG8VJFRRYBjbCkl%2FwHOAB5dRX17EMZHwhy%2BK3J8o3V2JDbicZOW0fDzWfvUL8H"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b46d46f7b52d817-BLR
gform_form_list_forms - Gravity Forms Documentation
gform_form_list_forms
Description
The “gform_form_list_forms” filter in Gravity Forms allows the forms displayed on the form listing page to be filtered. It should be used in conjunction with the gform_form_list_count hook to adjust the counts.
Usage
add_filter( 'gform_form_list_forms', 'your_function_name', 10, 6 );
Parameters
Examples
add_filter( 'gform_form_list_forms', 'filter_forms', 10, 6 );
function filter_forms( $forms, $search_query, $active, $sort_column, $sort_direction, $trash ){
//remove half of the forms
$forms = array_slice( $forms,0, round( count($forms)/2 ) );
return $forms;
}
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms version 2.3.
Source Code
This filter is located in GF_Form_List_Table::prepare_items() in form_list.php.