[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:57:31 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 seravifer):

 Not work:
 {{{
 <?php
 define ( 'BP_DISABLE_ADMIN_BAR', true );
 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:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list