Update docs/snippets/change-a-currency-symbol.md
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
parent
04224dd7e4
commit
718ab9c74e
|
@ -17,7 +17,7 @@ if ( ! function_exists( 'YOUR_PREFIX_change_currency_symbol' ) ) {
|
|||
* @return string $currency_symbol Updated currency symbol(s).
|
||||
*/
|
||||
function YOUR_PREFIX_change_currency_symbol( $currency_symbol, $currency ) {
|
||||
switch( $currency ) {
|
||||
switch ( $currency ) {
|
||||
case 'AUD': $currency_symbol = 'AUD$'; break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue