Skip to content

Instantly share code, notes, and snippets.

  • Save jamiemarsland/7da9afa0756337f4618e to your computer and use it in GitHub Desktop.
Save jamiemarsland/7da9afa0756337f4618e 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 );
}
@JuliaMe
Copy link

JuliaMe commented Jul 19, 2017

Or alexbrohman :)Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment