How to remove the search form in Storefront’s Woocommerce Theme

Just a little code snippet to remove Storefront’s search form. Add this to you functions.php:

function tk_remove_storefront_header_search() {
  remove_action( 'storefront_header', 'storefront_product_search', 40 );
}
add_action( 'init', 'tk_remove_storefront_header_search' );

 

Leave a Comment

Enable Notifications    OK No thanks