Created
February 2, 2021 13:11
-
-
Save Franz333/ca0bfaefc860f786371e67306c1bdcf8 to your computer and use it in GitHub Desktop.
Storefront - Remove cart from header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fdj_remove_cart_header() { | |
remove_action( 'storefront_header', 'storefront_header_cart', 60 ); | |
} | |
add_action( 'init', 'fdj_remove_cart_header' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment