- availability:
-
WooCommerce Multilingual Version: 3.5
- description:
-
- Get the current currency set on the front-end.
- This filter is available on the front-end.
- type:
- filter
- category:
- Multi-currency Feature
- parameters:
-
apply_filters( 'wcml_price_currency', mixed $empty_value )
- $empty_value
- (mixed) (Required) Normally, this is the value the filter will be modifying. We are not filtering anything here so you should set this to NULL. This argument allows the filter’s function to receive the full list of arguments.
- hook example usage:
-
A basic example
$current_currency = apply_filters('wcml_price_currency', NULL );