Skip to content

Instantly share code, notes, and snippets.

@guytzhak
Created March 26, 2022 13:32
Show Gist options
  • Save guytzhak/6b9428590023ea9b788927a66cdaab10 to your computer and use it in GitHub Desktop.
Save guytzhak/6b9428590023ea9b788927a66cdaab10 to your computer and use it in GitHub Desktop.
function remove_guten_wrapper_styles(){
wp_dequeue_style( 'wp-block-library' );
wp_dequeue_style( 'wp-block-library-theme' );
wp_dequeue_style( 'wc-block-style' ); // REMOVE WOOCOMMERCE BLOCK CSS
wp_dequeue_style( 'global-styles' ); // REMOVE THEME.JSON
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment