Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function embed_tribe_venue_map($venue_id, $width = null, $height = null) {
- global $post;
- $post_id = $post->ID;
- $post->ID = $venue_id;
- $map = tribe_get_embedded_map( $venue_id, $width, $height );
- $post->ID = $post_id;
- return $map;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement