Last active
May 15, 2023 10:55
-
-
Save raftaar1191/6a13e90289a6931cf7b08d3aa891c982 to your computer and use it in GitHub Desktop.
Add custom link into the User Profile Menu of BuddyBoss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bp_member_options_nav_custom_link() { | |
?> | |
<li id="custom-link-li" class="bp-personal-tab"> | |
<a href="/members/admin/invites/" id="custom-link" class=""> | |
<div class="bb-single-nav-item-point">Custom Text</div> | |
</a> | |
</li> | |
<?php | |
} | |
add_action( 'bp_member_options_nav', 'bp_member_options_nav_custom_link', 100 ); //Priority must be higher than 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment