Created
September 9, 2017 06:08
-
-
Save wpflippercode/6277d9ed01cb42fca419e84ba307e82b to your computer and use it in GitHub Desktop.
Show Full Post Content in the Infowindow on the Google Maps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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