FOX - Currency Switcher for WooCommerce

woocs_order_formatted_prices

The woocs_order_formatted_prices filter controls whether FOX formats prices on the order page and the thank-you page at all. It is a switch, not a formatter: return false and the plugin does not attach its formatting filters to those pages, leaving WooCommerce output untouched.
add_filter('woocs_order_formatted_prices', '__return_false');
Parameters:
  • $state (bool) - true by default
Returns:
  • (bool) false to leave order pages formatted by WooCommerce alone
When to use it: when a theme, an invoice plugin or a custom order template formats those amounts itself and the two are fighting — a doubled currency symbol on the thank-you page is the usual symptom. Note: this affects display only. The currency stored on the order is not changed by it.