Remove the “WordPress logo” menu from the WordPress Toolbar

April 21, 2012 - 1 minute read

Take it or leave it. The "About WordPress" menu

A quick tip on how to remove the first menu in the admin bar, or the all-new nickname widely used in the WP community “WordPress Toolbar”.

Foremost among the improvements: it’s not called the Admin Bar anymore! It is now the WordPress Toolbar.

– Inside The WordPress Toolbar, Smashing Magazine

 So how do I manage to remove it?

Just copy the following code to your active theme’s functions.php file and you’re all set. The changes will take effect right after you do a refresh.

add_action( 'wp_before_admin_bar_render', function() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wp-logo');
}, 7 );