Show price with Geo IP location
Here is a simple approach to achieve what you are trying. Put these functions in your theme’s functions.php or plugin file. This will let you capture 2-letter country code with API request. You have to test it remotely (if you test on localhost you’ll get no country code as your IP reads as 127.0.0.1, so … Read more