Currency
change the currency symbol or add a new currency
wppizza_filter_currencies
if you want change currency symbols for a given currency or indeed need to add a new one in case your currency is missing from the 140+ already available
@param: array (array of all currencies with they array key being 3-letter ISO and the value being symbol you want to have displayed)
@return: array
example:
add_filter('wppizza_filter_currencies', 'myprefix_filter_currencies'); function myprefix_filter_currencies($curr){ /* example, changing the default symbol from € to EUR */ $curr['EUR'] = 'EUR'; /* example, adding a new currency ABC being the 3-letter ISO and # being the currency symbol to be displayed */ $curr['ABC'] = '#'; return $curr; }