Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.