=== BTN Admin Restrictor === Contributors: btninfosolution Tags: admin, restrict menu, permissions, dashboard, security Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Dynamically restrict access to dashboard menus for specific Admin users without changing their roles. == Description == 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). == 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. == Frequently Asked Questions == = 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. == Screenshots == 1. The main interface where you select an admin and toggle menu visibility. 2. The safety caution notice shown when editing your own profile. == Changelog == = 1.0.0 = * Initial release. * Added per-user menu restriction logic. * Added security nonces and data sanitization. * Implemented unique btnadre_ prefixing.