Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WooCommerce - Disable CSS (2.1 +)
add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
@blainerobison

This comment has been minimized.

Copy link

blainerobison commented Jan 14, 2015

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
You can’t perform that action at this time.