Advertisement
majeedraza

StoreFront - Remove header cart

Aug 31st, 2019
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement