Created
February 2, 2021 13:08
-
-
Save Franz333/dc6ff58eefb4eebd3749902d173cf331 to your computer and use it in GitHub Desktop.
Storefront - Remove product search input field 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_product_search_header() { | |
remove_action( 'storefront_header', 'storefront_product_search', 40 ); | |
} | |
add_action( 'init', 'fdj_remove_product_search_header' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment