bookmark_bordergform_currency_setting_message

Description

Use this filter to display a message next to the currency drop down.

Usage

add_filter( 'gform_currency_setting_message', 'currency_message' );

Parameters

  • $message string

    Message to be displayed below the currency drop down.

Examples

This example adds a message below the currency drop down.

add_filter( 'gform_currency_setting_message', 'currency_message' );
function currency_message( $message ) {
    return "US Dollars is the only supported currency by this payment gateway.";
}

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