StoreFront - Remove header cart

lorro Aug 31st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // StoreFront - Remove header cart
  3. add_action( 'after_setup_theme', 'remove_cart' );
  4. function remove_cart() {
  5.   remove_action( 'storefront_header', 'storefront_header_cart', 60 );
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand