Gform currency setting message

Description

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

Usage

<?php
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.


<?php

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 settings.php

Search the Documentation