Skip to content

Instantly share code, notes, and snippets.

  • Save the-nerdery-dot-info/5194fb98d2005a5182be520816d8ac85 to your computer and use it in GitHub Desktop.
Save the-nerdery-dot-info/5194fb98d2005a5182be520816d8ac85 to your computer and use it in GitHub Desktop.
Remove search bar from header
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