gform_addon_app_settings_menu_{$SHORT_SLUG}

Description

The “gform_addon_app_settings_menu_” plus {$SHORT_SLUG} filter in Gravity Forms controls the addition or removal of tabs within the Gravity Forms settings menu.

Usage

The Gravity Forms Add-On Slugs lists the short slugs for the available add-ons.

The following would add a settings tab and determine the callback for the defined slug:

add_filter( 'gform_addon_app_settings_menu_{$SHORT_SLUG}', 'your_function_name' );

The following would run for the Mailchimp add-on:

add_filter( 'gform_addon_app_settings_menu_mailchimp', 'your_function_name' );

The following would run for the 2Checkout add-on:

add_filter( 'gform_addon_app_settings_menu_2checkout', 'your_function_name' );

Parameters

  • $settings_tabs array

    Any existing settings tabs. Controls each of the tabs and the callback.

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in class-gf-addon.php.