Last active
October 14, 2015 07:22
-
-
Save caralgar/cea9f05831c5171adaba to your computer and use it in GitHub Desktop.
dequeue css, deregister style
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
<?php | |
function dequeue_css() { | |
wp_dequeue_style('child-style'); | |
wp_deregister_style('child-style'); | |
} | |
add_action('wp_enqueue_scripts','dequeue_css',1002); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment