Skip to content

Instantly share code, notes, and snippets.

@wpflippercode
Created September 9, 2017 06:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
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