set country based on geolocation information
-
Anyone know how can set the country based on geolocation and not manually like in the below code?
add_filter( 'default_checkout_country', 'change_default_checkout_country' ); function change_default_checkout_country() { return "AE"; }
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘set country based on geolocation information’ is closed to new replies.