Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function remove_woo_sidebar() {
- if ( is_woocommerce() ) {
- remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );
- }
- }
- add_action( 'get_header', 'remove_woo_sidebar' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement