=== Dash Broom ===
Contributors: zichemak
Tags: admin notices, dashboard cleanup, hide notices, nagging notices, nag screens
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.12.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Hide or toggle WordPress admin notices and the Welcome panel. Clean up your dashboard with badges, per-type filters, and per-user preferences.

== Description ==

Dash Broom keeps wp-admin tidy. Hide or toggle **core** and **popular plugin** notices with one click, grouped by type with count badges. Preferences are saved **per user**, so each admin can choose what to sweep away.

**What it hides/toggles**
- Core: Error, Warning, Success, Info
- Plugin notices: **WooCommerce**, **Elementor**, **Yoast**, **Jetpack**
- WordPress **Welcome Panel**
- “Other” (misc. `.notice` elements we auto-classify)

**Highlights**
- One-click **badges** per type (show counts; click to slide open/closed)
- **Per-user** saved settings (no code)
- **Early CSS** prevents “flash” of notices before JS runs
- Respects page layout: only targets notices in the main admin content

**Use cases**
- Hide admin nags during client demos
- Keep stores (WooCommerce) and builders (Elementor/Yoast/Jetpack) quiet
- Focus on what matters, then reveal notices when needed

**Accessibility**
- Keyboard-operable toggles and ARIA attributes for the settings panel

== Installation ==

1. Upload the `dash-broom` folder to `/wp-content/plugins/` or use **Plugins → Add New → Upload**.
2. **Activate** the plugin.
3. Click **Dash Broom** button in top right of WordPress dashboard next to the "Screen Options" & "Help"  to open **Dash Broom Settings** and check the notice types to affect. Click **Apply** to apply new settings. Click bubble badges to toggle reveal notices that have been hidden.

== Frequently Asked Questions ==

= Does this permanently remove notices? =
No. Dash Broom hides or toggles notice blocks in the admin UI. It doesn’t delete data or prevent plugins from creating notices.

= Can I choose which types to affect? =
Yes. Open **Dash Broom Settings**, check the types you want affected, then click **Apply**. These preferences are saved **per user**.

= Will it break plugin updates or setup notices? =
Notices are only hidden visually. You can always reveal them by clicking the relevant badge or unchecking the type in Settings.

= Can you support another plugin’s notice style? =
Absolutely. Open a support thread and paste one example notice HTML (the `<div ...>` with classes) and we’ll add a selector.

== Screenshots ==
1. Activating plugin adds "Dash Broom" button next to Screen Options/Help
2. Unwanted notifications are swept away into colored count bubbles
3. Click Dash Broom button to reveal Dash Broom Settings

== Changelog ==
= 0.11.0 =
* First public release: badges, per-user prefs, early CSS (no “flash”), support for core + Woo/Elementor/Yoast/Jetpack, Welcome Panel, and “Other”.

== Upgrade Notice ==
= 0.11.0 =
Initial release.
