Hide the Admin Bar for Specific Users

In some cases, you may want to override admin bar visibility for individual users, regardless of their role or capabilities.

With Hide Admin Bar Pro, you can enable per-user control using a simple dropdown on each user’s profile page — no coding required.

When to Use This Feature #

  • 👤 Override visibility for a specific client or staff member
  • 🧪 Test behavior on a staging account
  • 🚫 Hide the admin bar for one user, even if their role normally shows it
  • ✅ Always show the admin bar for admins, even when roles are hidden

How to Set Admin Bar Visibility Per User #


1. Make Sure You Have Pro Installed #

👉 Need help? See installation guide

2. Go to the User’s Profile Page #

  • In the WordPress dashboard, go to:
    Users → All Users → [Select a user]

3. Scroll to the Admin Bar Visibility Section #

You’ll find a dropdown labeled:
Admin Bar Visibility (Pro)

This dropdown has 3 options:

OptionDescription
Follow Role SettingsDefault behavior based on role/capability settings
👁️ Always ShowAdmin bar will always be visible for this user
🚫 Always HideAdmin bar will always be hidden, no matter their role
hide-admin-bar-based-on-user-roles-per_user_visibility

4. Choose a Visibility Rule and Save #

Select the desired option for the user and click Update User.

Changes take effect immediately — no caching or logout required.

How It Works (Under the Hood) #

  • This feature uses the pabvr_user_override user meta field.
  • The plugin hooks into the visibility logic and overrides the result if a specific user setting is detected.

You can also access this via get_user_meta( $user_id, 'pabvr_user_override', true ) in custom dev logic.

Frequently Asked Questions #

FAQs (For Specific Users) #

  • Does this work in multisite?

    Yes, the override is per site. User must exist on the subsite.

  • Can I bulk update users?

    Not yet — this feature is profile-based for now.

  • What if I set ‘Always Hide’ but their role is set to show?

    The per-user setting overrides role, capability, and all other rules.

What are your feelings
Updated on April 19, 2025