Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dequeue CSS From Plugins
//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
You can’t perform that action at this time.