Last active
November 13, 2017 13:13
-
-
Save wpflippercode/9a33446e4b4963634e3bafab8b240f39 to your computer and use it in GitHub Desktop.
Fix marker display issue in conflicting countries having same zipcodes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wdap_exclude_countries','excluding_countries'); | |
function excluding_countries($countries) { | |
/*Return array of country codes which you want to exclude to display marker. Some countries have same zipcodes due to which markers are displayed on both countries and this represent product delivery area, however you need to display it in only one country as your deliver in one country only */ | |
return $countries; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment