Created
September 7, 2017 06:57
-
-
Save cryptexvinci/daa2e38e61b88b6a6bea23de4abc309d to your computer and use it in GitHub Desktop.
Remove search box from Storefront Header section.
This file contains hidden or 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', 'custom_remove_storefront_header_search' ); | |
function custom_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