How to disable the WordPress Admin Bar?

WordPress 3.1 introduces a new feature called the Admin bar. A lot of people will be wanting to disable this feature for their members by default instead of editing each user’s profile.

To disable the admin bar you can add any of these to your functions.php what ever works for you, the 1st one works fine with me.

or

or

  • incoe

    To disable the admin bar you can add any of these to your functions.php what ever works for you, the 1st one works fine with me.

    /* Disable the Admin Bar. */
    add_filter( ‘show_admin_bar’, ‘__return_false’ );

    or

    /* Disable the Admin Bar. */
    show_admin_bar(false);

    or

    /* Disable the Admin Bar. */
    show_admin_bar(0);

    hope it helps 🙂