Skip to:
Content
Pages
Categories
Search
Top
Bottom

disabling nav items in groups


  • firetag
    Participant

    @firetag

    I am developing a group categories plugin and I need to disable certain sub nav items in certain groups… I know there is the bp_options_nav array but there is nothing there to totally get rid of sub nav items…

    I know I could dynamically delete it via the theme ,but I really don’t want to have to make users edit their theme files…. Is there a way to do this via the $bp global or the like or am I just tough outa luck and people will have to edit their theme?

Viewing 1 replies (of 1 total)

  • techguy
    Participant

    @crashutah

    You can use something like this:
    bp_core_remove_subnav_item( $bp->groups->slug, ‘send-invites’ );

Viewing 1 replies (of 1 total)
  • The topic ‘disabling nav items in groups’ is closed to new replies.
Skip to toolbar