WordPress remove admin bar

WordPress remove admin bar

WordPress is the powerful CMS. WordPress provide awesome functionality to the admin bar. Using admin bar we can quickly access some admin feature form the front side of the WordPress. But many times we don’t want it and we need to remove admin bar. So let’s see how to WordPress remove admin bar.

For removing WordPress admin bar we just need to add the single line of code on “functions.php” file. Let’s open your current/active theme “functions.php” file. Then write the below code for removing admin bar.

WordPress remove admin bar

show_admin_bar( false );

Also, For the latest version of WordPress, you can use the filter for removing the admin bar from the front side.

add_filter('show_admin_bar', '__return_false');

It’s too easy to remove WordPress admin bar.