Last active
July 9, 2017 13:35
-
-
Save Willem-Siebe/8c29bcfa791316165127 to your computer and use it in GitHub Desktop.
Remove CSS from WooCommerce 2.1 and further, see http://jameskoster.co.uk/snippets/disable-woocommerce-styles/.
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
// Remove CSS from WooCommerce after version 2.1, see https://gist.github.com/Willem-Siebe/8c29bcfa791316165127. | |
add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code had an update, see https://gist.github.com/jameskoster/7310502#file-functions-php and http://docs.woothemes.com/document/disable-the-default-stylesheet/.