Skip to content

Instantly share code, notes, and snippets.

@wpflippercode
Created September 12, 2017 05:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Hide Certain Markers on The Google Maps
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