Skip to content

Instantly share code, notes, and snippets.

@wpflippercode
Created September 14, 2017 07:14
Show Gist options
  • Save wpflippercode/1e6581c5805adde80427dd8a078b3d05 to your computer and use it in GitHub Desktop.
Save wpflippercode/1e6581c5805adde80427dd8a078b3d05 to your computer and use it in GitHub Desktop.
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