Reply To: specify currency for the wallet / selected currency symbol2021-12-28T18:24:47+05:30

Home Forums Core specify currency for the wallet / selected currency symbol Reply To: specify currency for the wallet / selected currency symbol

Subrata Mal
Keymaster
Post count: 175

You can use the attached code to specify wallet currency.

add_filter('woo_wallet_wc_price_args', 'woo_wallet_wc_price_args_callback');

if(!function_exists('woo_wallet_wc_price_args_callback')){
    function woo_wallet_wc_price_args_callback($args){
        $args['currency'] = 'USD';
        return $args;
    }
}