Created
September 12, 2017 05:32
-
-
Save wpflippercode/b649fea5cdeb1da74ad8c61dd5466c84 to your computer and use it in GitHub Desktop.
Hide Certain Markers on The Google Maps
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('wpgmp_show_place','wpgmp_show_place',1,3 ); | |
function wpgmp_show_place($show,$place,$map) { | |
// Here hide the marker with ID = 12665. | |
if($place['id'] == 12665) { | |
$show = FALSE; | |
} | |
return $show; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment