rcp_{currency}_symbol

Filters the symbol for a currency.

Parameters:

  • $symbol (string) - Currency symbol.
  • $currency (string) - Currency code (uppercase).

Example:

This changes the USD currency symbol from "$" to "USD" :

function ag_rcp_usd_symbol( $symbol, $currency ) {
	return 'USD';
}
add_filter( 'rcp_usd_symbol', 'ag_rcp_usd_symbol', 10, 2 );