Disable automatic currency change
-
Hi,
Right now, the plugin automatically changes the currency based on the visitor’s country. I would like the plugin to not modify the currency, unless specifically told to by a code like this:
add_action( 'wc_price_based_country_before_frontend_init', 'customer_country' ); function customer_country(){ if( ICL_LANGUAGE_CODE == 'romana' ) { wcpbc_set_woocommerce_country('Romania'); } }
Is there any hook I can use?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable automatic currency change’ is closed to new replies.