Update docs/snippets/change-a-currency-symbol.md

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
Niels Lange 2023-08-23 12:37:27 +02:00 committed by GitHub
parent 04224dd7e4
commit 718ab9c74e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}