=== MenuGuard Labs Menu Control ===
Contributors: wpexpertprince
Tags: admin menu, menu editor, hide menu, user role
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Control WordPress dashboard menu visibility per user role. Ideal for client handoff and simplifying the interface.

== Description ==

**MenuGuard Labs Menu Control** allows you to show or hide dashboard menus based on user roles. It is designed for developers who want to hand off a clean, simplified dashboard to their clients, preventing them from accessing settings that could break the site.

**Key Features:**
* **Role-Based Control:** Hide specific menus and sub-menus for any user role.
* **Developer Lock:** Lock the settings so other admins cannot change visibility rules.
* **Client Handoff Mode:** Automatically hides sub-menus when the parent menu is hidden.
* **Import/Export:** Easily transfer your menu settings using JSON.
* **Clean Interface:** Modern, responsive settings page.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/menuguard-labs-menu-control` directory.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to the 'MenuGuard' page in the admin dashboard via **Settings > MenuGuard** or the main admin menu.

== Frequently Asked Questions ==

= Can I hide menus for Administrators? =
Yes, you can hide menus for any role, including Administrators. However, you can use the "Developer Lock" feature to prevent accidental lockouts or changes by other admins.

= How do I reset the settings? =
Go to the plugin settings page and click the "Reset All" button at the bottom of the page.

= Does this delete the menus permanently? =
No, it only hides them using CSS and removes them from the generated menu list for that specific user role. The core files remain untouched.

== Screenshots ==

1. **Dashboard Settings:** The main interface to toggle menu visibility per role.
2. **Developer Lock:** Secure your settings from other administrators.
3. **Role Management:** Accordion view to easily manage multiple user roles.

== Changelog ==

= 1.0.0 =
* Initial release.