Disable the Admin Bar in WordPress
Milap Patel
Technical Manager | Node.js | React | JavaScript | AWS Certified Cloud Practitioner | PHP | WordPress | Front-end | MongoDB | MySQL
The WordPress Admin Bar enables quick access to a number of important features, such as the ability to create new posts and pages.
If you don't need it and want to get rid of it, just add the following code into your functions.php file.
add_filter( 'show_admin_bar', '__return_false' );