Home / Most Popular / Disable The WP Admin Bar
Use Snippet Duplicate Snippet

Disable The WP Admin Bar

Hide the WordPress Admin Bar for all users in the frontend.
WPCode Team
1.4k
Code Preview
php
<?php
/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );

Comments

Add a Comment