Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add custom html before google maps container.
add_filter('wpgmp_before_map','wpgmp_before_map',1,2 );
function wpgmp_before_map($section,$map) {
$section = "<p class='map-description'>Use below map to visit our offices and search nearby office.</p>";
return $section;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment