Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Last active December 27, 2015 10:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jameskoster/7310502 to your computer and use it in GitHub Desktop.
Save jameskoster/7310502 to your computer and use it in GitHub Desktop.
WooCommerce - Disable CSS (2.1 +)
add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
@blainerobison
Copy link

This should return an array, so the proper usage would be:

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