PluginProbe
HA

Hide Admin Bar from Non-Admins

v1.0.2

by Andrew Lima

Install, activate, and you’re done. This plugin hides the WordPress Toolbar (admin bar) for all visitors and users without the ‘administrator’ role. It’s a very simple plugin with no settings to configure. Use this plugin for sites with on...

10K+ active installs 4.3 (30 ratings) Requires WP 5.2+ Tested up to WP 7.0.4 Updated 2 months ago
Browse code Releases

About this plugin

Install, activate, and you’re done. This plugin hides the WordPress Toolbar (admin bar) for all visitors and users without the ‘administrator’ role. It’s a very simple plugin with no settings to configure. Use this plugin for sites with only one admin who needs access to the dashboard and the admin bar. This plugin is super lightweight, with just a few lines of code. If you need to show the toolbar for other user roles, use the filter habfna_show_admin_bar_roles. This plugin is a tweak of the code by Yoast to hide the admin bar for non-admins only.

Read the full description on WordPress.org →

Read the source

v1.0.2

Browse every file in this release with syntax highlighting and a file tree, or link straight to a line. Older releases and trunk are available from the version switcher.