Filter
rpress_currency_name
On this page
Filters the display name of a currency.
The name comes from the supported currency list and falls back to the currency code. Note that only the name is passed to the filter.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$name | string | Currency name. |
Return value#
string. The currency name.
Example#
function my_currency_name( $name ) {
return $name;
}
add_filter( 'rpress_currency_name', 'my_currency_name' );
Source#
Applied in:
includes/rp-core-functions.php(line 2190), inrpress_get_currency_name()
See also#
Was this page helpful?
