Using optional url parameter for user country

[ad_1]

Hello,

is it possible to override the country which is detected by geolocation with a country parameter in the product url?
I would like to add url parameter usr_country=de to the product url and if this parameter exists use this country instead of the geolocation detection.
If its not present, geolocation should be used.

Is there a filter which can be used to modify this?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer