Disable Admin Bar in WordPress

  • Avinash
  • 0
  • Mar 03, 2013
  • Tips & Tricks

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!!!!

Related Posts

Written by Avinash

Avinash Zala is leading various projects which deals with the various technology involved with the web. A combination of perfect technical and management skills. Avinash would like to chat with you and convert your imagination into the working system. You can get in touch with him on Facebook and Twitter.

View all posts by: