Since: 3.1.4
File: includes/wp-geo.php
Param: $content HTML output

The wpgeo_the_content_map filter allows you to change the HTML output of a map. You may want to adjust the HTML output or add additional HTML around the map.

If you remove or change the ID attribute of the HTML that is outputted then the map will not show and it may cause JavaScript errors.


function my_wpgeo_the_content_map( $content ) {
	return '<h3>Location Map</h3>' . $content;
add_filter( 'wpgeo_the_content_map', 'my_wpgeo_the_content_map' );

Leave a Reply