sorry @chouf1,
Am using Buddypress default theme (child theme)
@shanebp, you are beautifully good, I used the code in functions.php of my child theme and it works great.
Thanks for been a blessing to BP community.
Regards
@shanebp,
Thanks for your help on this topic, I just noticed that the link also visible while viewing the friends tab subnav of your friends.
How can I stop this, I want it to show on my profile alone and not while viewing my friends profile.
Note: i use the link on profile tab
Best regards
@funmi-omoba, you can stop the problem by adding the following code in that subnav code
'user_has_access' => ( bp_is_my_profile() || is_super_admin() ),
Naijaping