Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Unregisters the Google Maps API script on Events Calendar PRO.
add_action( 'wp_print_scripts', 'ecp_remove_google_maps_api', 100 );
function ecp_remove_google_maps_api() {
wp_deregister_script( 'tribe-gmaps' );

This comment has been minimized.

Copy link

@josephdickson josephdickson commented Sep 10, 2018

Hi Courtney,
Thanks for the code. I've turned it into a very basic plugin if you have any purpose for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment