Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Modify Location Listing below Google Maps using Hook
add_filter('wpgmp_listing','wpgmp_listing',1,2 );
function wpgmp_listing($listing,$map) {
$listing['listing_placeholder'] = "<div class='listing-item'><h4>{marker_title}</h4><p>{marker_address}</p></div>";
return $listing;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.