BTN Admin Restrictor

Beskrivning

BTN Admin Restrictor is a lightweight, secure tool designed for developers and agency owners who need to simplify the WordPress dashboard for clients or other administrators.

Unlike global restriction plugins, this tool allows you to select a specific administrator and choose exactly which sidebar menus they can see. It is perfect for ”hiding” complex settings or third-party plugin menus from users who don’t need to see them.

Key Features

  • Per-User Control: Select any administrator and customize their unique dashboard view.
  • Smart Detection: Automatically detects menus from newly installed plugins.
  • Stealth Mode: Option to hide the restrictor plugin itself from the menu list.
  • Safety First: Built-in caution notices prevent you from accidentally locking yourself out.
  • Developer Friendly: Fully prefixed to prevent conflicts and built with modern WordPress security standards (Nonces, Sanitization, and Escaping).

Skärmdumpar

  • The main interface where you select an admin and toggle menu visibility.
  • The safety caution notice shown when editing your own profile.

Installation

  1. Upload the btn-admin-restrictor folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ’Plugins’ menu in WordPress.
  3. Go to ’BTN Admin Restrictor’ in your sidebar to begin configuring permissions.

Vanliga frågor

Can I hide the plugin from myself?

Yes, but the plugin will show a red caution notice if you select your own account. If you hide it, you can still access the settings via the direct URL.

Does this change user roles?

No. It only hides the menu items from the sidebar UI. The user remains an Administrator.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”BTN Admin Restrictor” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”BTN Admin Restrictor” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.0

  • Initial release.
  • Added per-user menu restriction logic.
  • Added security nonces and data sanitization.
  • Implemented unique btnadre_ prefixing.