Completely remove WP_Admin_Bar for specific user roles
Add the following to your functions.php file as detailed here. Disable Admin Bar for everyone: // Disable Admin Bar for everyone if (!function_exists(‘disable_admin_bar’)) { function disable_admin_bar() { // for the admin page remove_action(‘admin_footer’, ‘wp_admin_bar_render’, 1000); // for the front-end remove_action(‘wp_footer’, ‘wp_admin_bar_render’, 1000); // css override for the admin page function remove_admin_bar_style_backend() { echo ‘<style>body.admin-bar #wpcontent, … Read more