Using Gravity Forms ‘gform_field_settings_tabs’ PHP filter

The gform_field_settings_tabs filter allows you to add new tabs to the field settings panel in the Gravity Forms form editor.


To use this filter for all forms:

add_filter('gform_field_settings_tabs', 'your_function_name', 10, 2);

To target a specific form, add the form ID after the hook name:

add_filter('gform_field_settings_tabs_6', 'your_function_name', 10, 2);


  • $tabs (array): An array of custom field settings tabs.
  • $form (Form Object): The form currently being edited.

More information

See Gravity Forms Docs: gform_field_settings_tabs


Add a new tab

This example demonstrates how to add a new tab to the field settings panel in the form editor:

add_filter('gform_field_settings_tabs', function ($tabs, $form) {
    $tabs[] = array(
        'id' => 'my_custom_tab_1',
        'title' => 'My Custom Tab',
        'toggle_classes' => array('my_toggle_class_1', 'my_toggle_class_2'),
        'body_classes' => array('my_body_class_1'),

    return $tabs;
}, 10, 2);

Place this code in the functions.php file of your active theme or a custom functions plugin.

This filter was added in Gravity Forms v2.5.

The source code for this filter is located in GFFormDetail::forms_page() in form_detail.php.