| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 08:32:31 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_field_groups_form_editor/
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: 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=PEdYfA74zJGE6dRWJxXjtEwme0oJRWyS07K89HRYV6W93utw8%2B7e%2FulpcVds9Lx9WGoIsgtyINWURD5hPUAatDxjLp%2BNz72tXwRbRpbzmmrFGM1V"}]}
cf-ray: 9b4777bcadd9ccbb-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 08:32:32 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=DaXhRN3d96AAdsyAEJXHrlZiDKpdvQLCyuMGwJ08dt0BFTQllJO2Zjb3FLy5Mhcf0aszMV8BaK0ENqVbJLb%2FW02XPViPqa2TVfWcy0FNd%2FEQz6Cy"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b4777c46867ccbb-BLR
gform_field_groups_form_editor - Gravity Forms Documentation
gform_field_groups_form_editor
Description
The “gform_field_groups_form_editor” filter in Gravity Forms is used to modify the field groups in the Form Editor before fields are added, allowing control over what displays.
Usage
add_filter( 'gform_field_groups_form_editor', 'your_function_name', 10, 1 );
Parameters
- $field_groups arrayThe field groups, including group name, label and fields.
Example
This example changes the label for Standard Fields to Testing.
add_filter( 'gform_field_groups_form_editor', 'change_title', 10, 1 );
function change_title( $field_groups ){
foreach ( $field_groups as &$group ){
if ( $group['name'] == 'standard_fields' ){
$group['label'] = 'Testing';
}
}
return $field_groups;
}
Placement
Your code snippet should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFFormDetail::get_field_groups() in gravityforms/form_detail.php.