Instantly share code, notes, and snippets.

Embed
What would you like to do?
add_action( 'get_header', 'remove_storefront_sidebar' );
function remove_storefront_sidebar() {
if ( is_woocommerce() ) {
remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment