The woocs_currency_symbol_on_order filter controls whether FOX leaves the currency symbol untouched on the order-received ("thank you") page and on the account pages.
FOX normally replaces the symbol WooCommerce produces with the symbol of the currently selected currency. On order pages that is not always what you want: the order was paid in a specific currency and is stored with it, so if the visitor switches currency afterwards and reloads the receipt, the amount keeps its original number while the symbol follows the switcher. Returning true from this filter tells FOX to step aside and keep the symbol WooCommerce passed in.
The default is false, and the filter is only consulted when the global $wp_query is not set — that is, early enough in the request that the usual page checks are not yet available.
(bool) true to keep the original currency symbol on order and account pages
🌸
Shortcodes, functions, actions and filters reference for FOX WooCommerce Currency Switcher
Codex — FOX Currency Switcher
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.