Disable the Admin Bar in WordPress: The WordPress Admin Bar provides handy links to several key functions such as the ability to add new posts and pages, etc.
However, if you find no use for it and wish to remove it, simply paste the following code snippet to your functions.php file:
// Remove the admin bar from the front end add_filter( 'show_admin_bar', '__return_false' );
Note: The // followed by text is documentation in PHP. Documentation or AKA comments are placed for humans reference notes they are not instructions for the computer. Documentation in your code is handy because it explains what your code does when you look back from the future… No really some projects get to be thousands of lines of code and documentation is standard practice.)