Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Modify Listing HTML below Google Maps Using Hook
add_filter('wpgmp_listing_html', 'wpgmp_listing_html',1,2 );
function wpgmp_listing_html($listing_html,$map) {
$listing_html = "<div class='listing_item'><h3>{marker_title}</h3> <p>{marker_message}</p></div>";
return $listing_html;
}
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.