Disable The WP Admin Bar

Disable The WP Admin Bar and Hide the WordPress Admin Bar for all users in the frontend.

<?php
/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );

Post Comment