Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove the search box from the header of WooThemes Storefront theme
function remove_sf_actions() {
remove_action( 'storefront_header', 'storefront_product_search', 40 );
}
add_action( 'init', 'remove_sf_actions' );
@xturgorex
Copy link

xturgorex commented Jul 6, 2017

Thank you!

@FullStackAlex
Copy link

FullStackAlex commented Jul 30, 2017

awesome!

@tobyroblescc
Copy link

tobyroblescc commented Mar 27, 2018

Thanks!!! :)

@Castaman
Copy link

Castaman commented May 19, 2019

Best!

@z-h-r
Copy link

z-h-r commented Dec 22, 2020

Thank you!

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