Sign up ×

I need to remove the forum-tab in user profile pages. I have tried alot of things but no result. I do not want to do it by css.

Tried this: but no luck. Any advice?

Thank you in advance, Emily

share|improve this question




Could you add the actual code you have tried? –  toscho Nov 29 '12 at 14:07

1 Answer 1

try this:

function my_setup_nav() {
    global $bp;

    // this cause errors if your not logged-in.
    // $bp->bp_nav['conversations'] = false;

    // use this instead:

add_action( 'bp_setup_nav', 'my_setup_nav', 1000 );
share|improve this answer
Hi, and thank you for response. Code has no effect unfortunately. Nothing happens at all. Using bbpress theme from bbp-theme-compat. Any idea what could be wrong? –  Emily Nov 29 '12 at 15:29
