Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Where Is The Code for The WP-Admin-Bar?


r-a-y
Keymaster

@r-a-y

If you simply want to add links to the BuddyBar, then hook into the “bp_adminbar_menus” action.

eg.

function my_custom_adminbar_links() {
echo '<li>Pretend this is a link!</li>';
}
add_action( 'bp_adminbar_menus', 'my_custom_adminbar_links' );

Put this snippet somewhere in your theme’s functions.php.

Skip to toolbar