Last active
October 9, 2015 11:01
-
-
Save tomhemsley/58b547297623280788d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function metaslider_fix_beaton() { | |
if( isset( $_GET['page'] ) && $_GET['page'] == 'metaslider' ) { | |
wp_dequeue_script("custom-js"); | |
wp_dequeue_script("setup-js"); | |
wp_dequeue_script("upload-js"); | |
wp_dequeue_script("datepicker-js"); | |
} | |
} | |
add_action('admin_enqueue_scripts', 'metaslider_fix_beaton', 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment