How to remove WordPress logo on the admin bar without plugins

Last updated on January 27, 2020 A Goodman Loading... Post a comment

In order to remove the WordPress logo on the admin bar, just place the code snippet below into your functions.php:

add_action('admin_bar_menu', 'my_remove_items', 999);
function my_remove_items($wp_admin_bar)
{
    $wp_admin_bar->remove_node('wp-logo');
}

Simple as that 🙂

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Related Articles