-
-
Save jamiemarsland/7da9afa0756337f4618e 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
I tried this too but it had no affect. Can you tell me how you fixed it please jeffmauget?