Skip to content

Instantly share code, notes, and snippets.

@patrickgilmour
Last active August 29, 2015 14:05
Show Gist options
  • Save patrickgilmour/8c230836cfab8b1579e2 to your computer and use it in GitHub Desktop.
Save patrickgilmour/8c230836cfab8b1579e2 to your computer and use it in GitHub Desktop.

Revisions

  1. patrickgilmour revised this gist Aug 12, 2015. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions wc-remove-all-stylesheets.php
    Original file line number Diff line number Diff line change
    @@ -3,5 +3,4 @@
    *
    * see http://docs.woothemes.com/document/disable-the-default-stylesheet/
    */
    add_filter( 'woocommerce_enqueue_styles', '__return_false' );

    add_filter( 'woocommerce_enqueue_styles', '__return_false' );
  2. patrickgilmour created this gist Aug 15, 2014.
    7 changes: 7 additions & 0 deletions wc-remove-all-stylesheets.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    /**
    * WooCommerce enqueues 3 stylesheets by default. You can disable them all using:
    *
    * see http://docs.woothemes.com/document/disable-the-default-stylesheet/
    */
    add_filter( 'woocommerce_enqueue_styles', '__return_false' );