Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove “Logout” from bp_get_loggedin_user_nav

  • @sofianjanom

    Member

    Anyone know, how to remove “Logout” from bp_get_loggedin_user_nav?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • @davidtcarson

    Participant

    You’ll most likely want to create a replacement function for the function that adds the “My Account” section in the nav bar (see `bp_adminbar_account_menu()` in bp-core directory) and override it with your own custom function with the logout section removed using a `bp-custom.php` file.

    This help page provides a good overview of what to do:

    https://codex.buddypress.org/theme-development/modifying-the-buddypress-admin-bar/

Viewing 1 replies (of 1 total)
  • The topic ‘Remove “Logout” from bp_get_loggedin_user_nav’ is closed to new replies.
Skip to toolbar