SignaturePHP
apply_filters( 'wcml_price_currency', mixed $empty_value )
Description
- Get the current currency set on the front-end.
- This filter is available on the front-end.
Arguments
$empty_valuemixedRequiredNormally, 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.
Example Usage
A basic examplePHP
$current_currency = apply_filters('wcml_price_currency', NULL );