BTN Admin Restrictor

外掛說明

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).

螢幕擷圖

安裝方式

  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.

常見問題集

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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈BTN Admin Restrictor〉的開發相關工作。

參與者

將〈BTN Admin Restrictor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

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