Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable Woocommerce Blocks Stylesheet
/**
* Disable WooCommerce block styles (front-end).
*/
function slug_disable_woocommerce_block_styles() {
wp_dequeue_style( 'wc-block-style' );
}
add_action( 'wp_enqueue_scripts', 'slug_disable_woocommerce_block_styles' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment