From 718ab9c74eb069a0d7f8c8fa17ad49013d0cd4cd Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Wed, 23 Aug 2023 12:37:27 +0200 Subject: [PATCH] Update docs/snippets/change-a-currency-symbol.md Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com> --- docs/snippets/change-a-currency-symbol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/snippets/change-a-currency-symbol.md b/docs/snippets/change-a-currency-symbol.md index badaa24302f..db10e10a244 100644 --- a/docs/snippets/change-a-currency-symbol.md +++ b/docs/snippets/change-a-currency-symbol.md @@ -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; }