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