How to disable the Admin Bar in WordPress 3.1

No doubt you’re aware of the new WordPress release 3.1 with some awesome new features.
One annoying feature, IMO, is the WordPress admin bar being plonked on the front end as on WordPress.com
This is a default setting which can be turned off/ on if required, from the users profile page.

This simple trick allows you to disable the WordPress admin bar completely for everyone and remove the preferences.
Add the following to your theme’s functions.php file:

// REMOVE NEW ADMIN BAR //

add_filter( 'show_admin_bar', '__return_false' );

Leave a comment

You must be logged in to post a comment.