Is the new WordPress 3.1 admin bar pluggable and how can I extend it?
Yoast’s plug-in is actually a very good example if all you want to do is add menus. Basically, the admin bar is just an alternate set of links to the same plug-in admin pages you have in the sidebar. To add the top-level SEO menu, Yoast does the following: $wp_admin_bar->add_menu( array( ‘id’ => ‘wpseo-menu’, ‘title’ … Read more