Skip to:
Content
Pages
Categories
Search
Top
Bottom

New custom tab only visible by account owner


  • akalwp
    Participant

    @akalwp

    Hi,

    In my child theme “function.php”, I’ve created a new custom tab using bp_core_new_nav_item and some subnavs using bp_core_new_subnav_item. That works fine but :
    when a logged in user visits the profile of a friends for example, he is supposed to see only a part of his friend’s tabs like his profil, friend, forums and media. In my case, the new custom tab appears too, which is not good… I would like this custom tab be visible only by the account owner… I use s2members and I’ve tried to find some conditional stuff but no success… only logged in user and membership level, nothing about “account owner”, idem on google, nothing…

    does that make sense for anyone ?

    I’m running with WP4.3.1 and buddypress 2.3.4

    Kind regards

    Akal

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New custom tab only visible by account owner’ is closed to new replies.
Skip to toolbar