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: http://www.themightymo.com/2012/01/26/how-to-add-remove-and-change-the-order-of-buddypress-component-menu/ but no luck. Any advice?

Thank you in advance, Emily

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

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 );
  • 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

Not the answer you're looking for? Browse other questions tagged or ask your own question.