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

Embed Snippet on Your Site

Disable The WP Admin Bar

Hide the WordPress Admin Bar for all users in the frontend.

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

Comments

Add a Comment