gform_helpscout_display_enable_custom_app_setting

Description

The filter gform_helpscout_display_enable_custom_app_setting indicates if the enable custom app setting should be displayed or hidden. Defaults to the license validation state.

Usage

add_filter( 'gform_helpscout_display_enable_custom_app_setting', 'your_function_name' );

Parameters

  • $gform_helpscout_display_enable_custom_app_setting bool

    Indicates if the Custom App setting is shown at Forms → Settings → Help Scout. Default matches the Gravity Forms license validation state.

Examples

Always show the option to connect via a custom app

This example will show the Help Scout custom app setting.

add_filter( 'gform_helpscout_display_enable_custom_app_setting', '__return_true' );

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.2.0.

Source Code

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