Skip to content

Instantly share code, notes, and snippets.

@woogists
Last active October 8, 2024 22:20
[Theming Snippets] Disable the default stylesheet
add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
@lomars
Copy link

lomars commented Jan 4, 2021

Not working anymore on WooCommerce 4.x+

Sorry, something went wrong.

@narenverma
Copy link

@lomars, Have you found the solution?

@MrShippeR
Copy link

+1 it's not working. I think it's because of new system of woocommerce. There is new way to insert it to block editor Guttenberg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment