Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'tribe_get_embedded_map', 'strip_gmaps_inclusion' );
- function strip_gmaps_inclusion( $html ) {
- $to_remove = '<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>';
- return str_replace( $to_remove, '', $html );
- }
Add Comment
Please, Sign In to add comment