Created
September 24, 2012 21:41
-
-
Save BFTrick/3778581 to your computer and use it in GitHub Desktop.
Dequeue CSS From Plugins
This file contains 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
//dequeue css from plugins | |
add_action('wp_print_styles', 'mytheme_dequeue_css_from_plugins', 100); | |
function mytheme_dequeue_css_from_plugins() { | |
wp_dequeue_style( "plugin-css-file-handle" ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment