=== ID Dashboard Cleanup ===
Contributors: insightdezign
Tags: dashboard, widgets, cleanup, hide widgets, reorder dashboard
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Hide, show, and reorder WordPress dashboard widgets site-wide from a simple settings page.

== Description ==

WordPress Screen Options lets each user hide dashboard widgets for themselves. ID Dashboard Cleanup lets an administrator control widget visibility and order for **all users** site-wide.

**Features:**

* Toggle dashboard widget visibility for all users
* Drag-and-drop reorder widgets between Main and Side columns
* Site-wide settings — no per-user configuration needed
* Settings page under Settings > Dashboard Cleanup
* Automatically detects new widgets from other plugins

**How it works:**

The plugin captures all registered dashboard widgets and stores them in a list. On the settings page, you can uncheck widgets to hide them and drag widgets to reorder them. These settings apply to every user on the site.

== Installation ==

1. Upload the `id-dashboard-cleanup` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins menu.
3. Visit the Dashboard once so the plugin can detect your widgets.
4. Go to Settings > Dashboard Cleanup to configure.

== Frequently Asked Questions ==

= Why do I need to visit the Dashboard first? =

Dashboard widgets are registered when the Dashboard page loads. The plugin captures the list at that point. After the first visit, the settings page will show all available widgets.

= Can individual users override these settings? =

No. The site-wide settings take precedence. Hidden widgets are completely removed from the dashboard, and the order applies to all users.

= What about widgets from other plugins? =

New widgets appear automatically after you visit the Dashboard. They will be visible by default until you configure them on the settings page.

= What happens when I deactivate the plugin? =

All dashboard widgets return to their default WordPress behavior. Your settings are preserved in case you reactivate.

== Changelog ==

= 1.1.0 =
* Fix: Widget checkboxes no longer uncheck on save.
* Fix: Widget list persists as fallback when transient expires.
* New: Dashboard column count selector (2, 3, or 4 columns).
* New: Drag widgets between all configured columns.

= 1.0.0 =
* Initial release.
