Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Remove the “DashBoard” from the adminbar


BigStupidWillis
Member

@bigstupidwillis

These are the lines in ‘bp-core-adminbar.php’ that add the new menu items:
(wp-content>plugins>buddypress>bp-core>bp-core-adminbar.php)

add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_blogs_menu’, 6 );
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_thisblog_menu’, 6 );

add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_authors_menu’, 12 );

You can ‘remove_action’ as mentioned above or simply delete the lines of the menu items you don’t want. The plugin “Add All Nav Links to BP Adminbar” is a nice plugin with options for modifying the admin bar. (It doesn’t have options for the new ‘dashboard’ menu but I’m sure it will on the next update.)

Word.

Skip to toolbar