[wp-hackers] any way to disable admin bar in 3.3?

Dion Hulse (dd32) wordpress at dd32.id.au
Mon Dec 12 10:21:30 UTC 2011


On 12 December 2011 21:16, fris <fris at fris.net> wrote:
> Pre 3.3 im using add_filter( 'show_admin_bar', '__return_false' );
>
> Anyway to do this in 3.3 to get rid of the admin bar, I noticed its removed
> from the user profile options page.
>
> Thanks.

It's an integral part of the Header for the admin in 3.3, as such, all
methods to disable it have been, well, disabled.

You'll notice that the Links to the front end, and the account-links
(including logout) are now part of the Toolbar's menu's. Note, that I
called it the Toolbar, as that's what it is in the admin now.

For reference, here's some wpdevel posts related to it:
Admin Bar API changes:
http://wpdevel.wordpress.com/2011/12/07/admin-bar-api-changes-in-3-3/
and One Header to rule them all:
http://wpdevel.wordpress.com/2011/10/05/3-3-pre-beta-user-feedback-aka-testing-results/


More information about the wp-hackers mailing list