Overview
Hide the admin bar for users who have specific WordPress capabilities, providing more granular control than role-based hiding. This feature is part of the Core Features category in Hide Admin Bar Pro.
Feature Details
| Category | Core Features |
| Type | Admin Bar Control |
| Plan | Free |
| Configurable Settings | Yes |
Prerequisites
- Hide Admin Bar Pro plugin must be installed and activated.
How to Configure
- Go to your WordPress admin dashboard.
- Navigate to Settings > Hide Admin Bar Settings.
- Find the Capabilities-Based Hiding option on the main Settings tab.
- Configure the settings as needed and click Save.
- Changes take effect immediately — no page refresh needed for visitors.
How It Works
Instead of targeting entire roles, this feature lets you specify individual WordPress capabilities (like manage_options, publish_posts, edit_posts) to determine admin bar visibility. If a user has any of the specified capabilities, the admin bar is hidden. Enter capabilities as comma-separated values for flexible, fine-grained control.
Benefits
- More granular than role-based hiding.
- Target specific capabilities like publish_posts or edit_pages.
- Useful for sites with custom roles and mixed capabilities.
- Comma-separated input for easy management.
- Works alongside role-based hiding for layered control.
Frequently Asked Questions
How do I enable Capabilities-Based Hiding?
Go to Settings > Hide Admin Bar Settings in your WordPress admin and find the option on the main Settings tab.
Can I use this with other visibility conditions?
Yes, all visibility conditions work together. The plugin evaluates conditions in order: global settings, role-based, capability-based, and then Pro conditions (time, URL, device, per-user). If any condition triggers hiding, the admin bar is hidden.
What happens if I accidentally hide the admin bar for administrators?
The plugin provides a secure reset URL on the settings page. You can also access the reset URL directly to restore all settings to their defaults without needing the admin bar.