Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Hide subnav Tabs


  • Will
    Participant

    @itec3054

    Hi all,

    I’m running the latest version of Buddypress and I’m setting up a new site. When going to the users profile and going to the Activity tab, there are subtabs that show up (Personal, Mentions, Floowing, Favorites, etc…) How do I go about hiding these?

Viewing 1 replies (of 1 total)

  • Henry Wright
    Moderator

    @henrywright

    bp_core_remove_subnav_item() can be used to delete an item from the secondary navigation.

    For example:

    bp_core_remove_subnav_item( BP_SETTINGS_SLUG, 'some-slug' );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar