Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Show Full Post Content in the Infowindow on the Google Maps
add_filter('wpgmp_post_placeholder', 'wpgmp_post_placeholder',1,3 );
function wpgmp_post_placeholder($placeholders,$post,$map) {
// Posts Details
$placeholders['post_excerpt'] = get_the_content($post->ID);
return $placeholders;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment