How To Hide Wordpress Admin Bar?

how to hide wordpress admin bar?

WordPress automatically injects an admin toolbar at the top of the page for logged in users. Here a snippet of code which will prevent that toolbar from displaying. Once this piece of code is used, wordpress admin toolbar will be disabled for all users.

Paste this code in your theme’s functions.php file or just us this plugin

Hide Admin Bar

<?php
add_filter('show_admin_bar', '__return_false');
?>
Categories: Tutorials

Related Articles