描述
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).
屏幕截图
安装
- Upload the
btn-admin-restrictorfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.0
- Initial release.
- Added per-user menu restriction logic.
- Added security nonces and data sanitization.
- Implemented unique btnadre_ prefixing.


