Skip to content

Instantly share code, notes, and snippets.

@Franz333
Created February 2, 2021 13:08
Show Gist options
  • Save Franz333/dc6ff58eefb4eebd3749902d173cf331 to your computer and use it in GitHub Desktop.
Save Franz333/dc6ff58eefb4eebd3749902d173cf331 to your computer and use it in GitHub Desktop.
Storefront - Remove product search input field from header
function fdj_remove_product_search_header() {
remove_action( 'storefront_header', 'storefront_product_search', 40 );
}
add_action( 'init', 'fdj_remove_product_search_header' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment