gform_currency_disabled

Description

Use this filter to enable/disable the currency drop down on the settings page.

Usage

add_filter( 'gform_currency_disabled', '__return_false' );

Parameters

  • $is_disabled string

    Value to be filtered. Use “true” to disable the currency drop down. Use “false” to enable it.

Examples

This example disables the currency drop down.

add_filter( 'gform_currency_disabled', '__return_false' );

Placement

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

Source Code

This filter is located in GFSettings::gravityforms_settings_page() in settings.php.