How to Hide Admin Bar for Logged in Users
If you have a WordPress site where end users have to login and you do not want to show the Admin bar to those users then you can disable the Admin bar globally for all users by adding following line of code into your theme’s functions.php file. If you want to disable the Admin Bar for end user but still want to show it for Administrator then use following code: