[buddypress-trac] [BuddyPress] #3894: Profile tab cannot be easily disabled

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Dec 30 23:21:30 UTC 2011


#3894: Profile tab cannot be easily disabled
-------------------------+-----------------------------
 Reporter:  seravifer    |       Owner:  -
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  XProfile     |     Version:  1.5.2
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by boonebgorges):

 Try the following in your bp-custom.php file:

 {{{
 function bbg_remove_profile_tab() {
   bp_core_remove_nav_item( 'profile' );
 }
 add_action( 'bp_setup_nav', 'bbg_remove_profile_tab', 99 );
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3894#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list