Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action('init', 'bbpress_hide_sidebar');
- function bbpress_hide_sidebar(){
- if( is_bbpress() ) {
- unregister_sidebar( $sidebar_id );
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement