=== Client Handover Mode ===
Tags: client handover, admin menu, gutenberg, editor, white label
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Simplify WordPress client handovers by hiding selected admin menus, limiting editor controls, and muting chosen page sections.

== Description ==

Client Handover Mode helps site owners present a simpler WordPress workspace to selected client roles.

Features include:

* Hide selected admin menu items from configured client roles.
* Configure target roles and choose a workspace preset.
* Restrict selected block-editor options for client users.
* Toggle selected page-section visibility using the plugin's editor controls.
* Preview the simplified client workspace as an administrator.
* Optionally hide notices that use common promotional CSS class names while Client View is active.

Notice suppression is intentionally limited to common promotional class names. WordPress and third-party plugins do not use a universal standard for promotional notices, so some notices may remain visible. Important system, security, and update notices are not removed from WordPress notice hooks.

== Installation ==

1. Upload the `client-handover-mode` folder to the `/wp-content/plugins/` directory, or upload the ZIP through the Plugins screen.
2. Activate **Client Handover Mode** from the Plugins screen.
3. Open the plugin's settings page and configure the target roles, menus, and editor options.
4. Save the settings and test with a non-administrator account before handing the site to a client.

== Frequently Asked Questions ==

= Does this plugin delete content? =

The section-muting feature is intended to hide selected sections rather than delete their content. Review changes in a staging environment before using the plugin on a production site.

= Are all WordPress notices hidden? =

No. Only notices whose CSS class names match a short list of common promotional patterns are hidden in Client View. This avoids removing every admin notice, including important system messages.

= Can administrators use the simplified view? =

Administrators can use the plugin's preview feature to inspect the client workspace.

== Changelog ==

= 1.1.4 =
* Enqueued the promotional-notice filter stylesheet through WordPress APIs.
* Scoped the plugin interface assets to the settings screen and supported block editor screens.
* Kept notice filtering separate from the plugin interface styles.


= 1.1.1 =
* Removed the placeholder Plugin URI header.
* Added a WordPress.org readme.
* Changed notice suppression to target common promotional notice classes instead of removing all notice callbacks.
* Replaced direct settings-updated query handling with the WordPress settings error display helper.

= 1.1.0 =
* Added the enhanced Client Handover Mode settings interface and editor controls.
