gform_dropbox_enable_custom_app

Description

gform_dropbox_enable_custom_app filters whether to show the custom Dropbox app option in the Gravity Forms Dropbox Add-On settings. By default, this option is hidden to encourage users to connect via OAuth. Returning true will display the custom app configuration option for advanced users who need it.

Usage

add_filter( 'gform_dropbox_enable_custom_app', 'your_function_name' );

Parameters

ParameterTypeDescription
$enabledboolWhether to show the custom Dropbox app option. Default is false.

Examples

Enable Custom Dropbox App Option.

This example shows how to enable the custom Dropbox app configuration option for advanced users.

add_filter( 'gform_dropbox_enable_custom_app', '__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?

Source Code

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

Since

This filter was added in version 3.3.1