Disable Admin Bar in WordPress

We are getting one admin bar in WordPress website when we are logged in as any user in that particular. This is default feature provided by WordPress team.

We have option to disable that bar in user’s profile but in this quick tip article we will see how we can disable that admin bar for all users regardless of that profile setting.

What you need to do is just paste below code in function.php file of your active theme and you are done.

add_filter('show_admin_bar', '__return_false');
add_filter('show_admin_bar', '__return_false');

You are done!!!!

Share This Article