November 8, 2018
Disable WordPress Admin Black Bar
Disabling Admin Bar can be done in 2 methods:
Method #1: Update specific user profile
And then uncheck the “Show Toolbar when viewing site” option & Save (that solution will apply only on your user account).
Method #2: Disable for all users
By pasting this code into your theme’s functions.php:
add_filter( 'show_admin_bar', '__return_false' );