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.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註