Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block purivus-dev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
purivus-dev / gist:9bd68355e73685a0d3ddf22b69048fe5
Last active Aug 5, 2019 — forked from wpflippercode/gist:1293f805f532494e0b8d5dc05caef749
Modify Info Window Contents for Posts Using Hook
View gist:9bd68355e73685a0d3ddf22b69048fe5
add_filter('wpgmp_infowindow_post_message', 'wpgmp_infowindow_post_message',1,2 );
function wpgmp_infowindow_post_message($message,$map) {
//This will apply for map id 1, by accessing the map-object.
if( $map->map_id == '1') {
$message = "<h1>{marker_title}</h1>";
You can’t perform that action at this time.