Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing group subnav items


  • untilthen5
    Member

    @untilthen5

    Ive been searching the past day on a way to remove the ‘members’ tab in the groups navigation. I came across and tried using this code

    ‘function remove_group_options() {
    global $bp;

    bp_core_remove_subnav_item($bp->groups->slug, ‘members’);

    }
    add_action( ‘bp_setup_nav’, ‘remove_group_options’ );’

    I posted that in my functions.php but when I saved it, the group page did not load at all. I tried a couple of other things but had no luck. Anyone know what im doing wrong? Or any other ways to add/remove those subnavs?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Removing group subnav items’ is closed to new replies.
Skip to toolbar