Skip to content

Instantly share code, notes, and snippets.

@lots0logs
Created January 30, 2016 19:31
Show Gist options
  • Save lots0logs/67d639070dc54505eef1 to your computer and use it in GitHub Desktop.
Save lots0logs/67d639070dc54505eef1 to your computer and use it in GitHub Desktop.
WordPress :: Divi Builder :: Disable Google Maps
<?php
/* DON'T copy the first line (above) if your functions.php already has it.
* ---------------------------------------------------------------- */
function my_et_pb_admin_scripts_styles() {
wp_dequeue_script( 'google-maps-api' );
}
add_action( 'admin_enqueue_scripts', 'my_et_pb_admin_scripts_styles', 99, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment