Skip to content

Instantly share code, notes, and snippets.

@wpflippercode
Created September 9, 2017 05:12
Show Gist options
  • Save wpflippercode/2818e079d9abe3e00dfbb6087f488729 to your computer and use it in GitHub Desktop.
Save wpflippercode/2818e079d9abe3e00dfbb6087f488729 to your computer and use it in GitHub Desktop.
Modify Featured Image Size in Info Window Message on Google Maps
add_filter('wpgmp_featured_image_size', 'wpgmp_featured_image_size',1,3 );
function wpgmp_featured_image_size($size,$post,$map) {
//$size = 'thumbnail';
//$size = 'medium';
$size = array(50,50);
return $size;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment