Admin bar is one of new features in WordPress 3.1. It’s automatically enabled for all logged-on user.
To disable the admin bar in WordPress 3.1, append the following code into functions.php file, you can find function.php under the theme folder.
remove_action( ‘init’, ‘wp_admin_bar_init’ );
Leave a Reply
You must be logged in to post a comment.