-
-
Save the-nerdery-dot-info/5194fb98d2005a5182be520816d8ac85 to your computer and use it in GitHub Desktop.
Remove search bar 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
add_action( 'init', 'jk_remove_storefront_header_search' ); | |
function jk_remove_storefront_header_search() { | |
remove_action( 'storefront_header', 'storefront_product_search', 40 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment