Remove WordPress Logo From Admin Bar

Add this code to your functions.php file to remove the WordPress logo on admin bar.

Code Snippet:

function annointed_admin_bar_remove() {
        global $wp_admin_bar;

        /* Remove their stuff */
        $wp_admin_bar->remove_menu('wp-logo');
}
add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove', 0);

Posted in Admin area