gform_currency_disabled

gform_currency_disabled

DescriptionUsageParametersExamplesPlacementSource Code

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.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注