How to remove WordPress logo on the admin bar without plugins

January 27, 2020 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 🙂

guest
0 Comments
Inline Feedbacks
View all comments

Related Articles

0
Would love your thoughts, please comment.x
()
x