Remove WordPress Admin Bar

Remove the WordPress Admin bar from selected User Access Levels.
//Disable the WordPress Admin Bar for all Users and Visitors
remove_action( 'init', '_wp_admin_bar_init' );
//Enable the WordPress Admin Bar for admins only
if ( !current_user_can( 'manage_options' ) ) {
	remove_action( 'init', '_wp_admin_bar_init' );

Hire WordPress Experts at Codeable.

The only WordPress exclusive freelancer platform that connects thousands of customers with the top WordPress freelance experts to work on projects of any size. 

Free estimate • No obligation to hire • 100% risk-free