Created
November 16, 2015 13:47
-
-
Save tomhemsley/00df7ea1663affac567d to your computer and use it in GitHub Desktop.
metaslider_fix_agp_font_awesome
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_agp_font_awesome() { | |
if( isset( $_GET['page'] ) && $_GET['page'] == 'metaslider' ) { | |
wp_dequeue_script("colorbox-js"); | |
wp_dequeue_style("colorbox-css"); | |
} | |
} | |
add_action('admin_enqueue_scripts', 'metaslider_fix_agp_font_awesome', 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment