Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How can I remove the admin bar in both the front and backend for all users in WordPress 3.3?

share|improve this question

2 Answers 2

up vote 1 down vote accepted
/* Front end */
show_admin_bar( false );

/* back end */
function disableAdminBar(){
    remove_action( 'admin_footer', 'wp_admin_bar_render', 1000 );  
    function remove_admin_bar_style_backend() {  
        echo '<style>body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; }</style>';
add_action('init', 'disableAdminBar');

Modified version of

share|improve this answer

This in functions.php: add_filter( 'show_admin_bar', '__return_false' );

Edit: For the front-end.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.