Created
July 22, 2016 07:07
-
-
Save SirDarcanos/c289fe7f8d73f7df69d68af885ec617f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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