Disable Admin Ads in WordPress — Hide Any Block
Click the admin bar button, hover to highlight, click to select, then choose how long to hide it. AdsDestroyer builds Chrome DevTools-style XPath rules and removes clutter safely with HTML5 parsing — frontend stays untouched.
What Is AdsDestroyer?
AdsDestroyer is a free WordPress admin cleanup plugin for site admins, developers, and agencies who need to disable admin ads and stop upsell notices from burying daily work. You click the admin bar button, point at any HTML block, and the plugin stores a Chrome DevTools-style XPath rule that hides it for a day, a week, a month, or forever. The plugin is free on WordPress.org with no paid tiers, and it requires WordPress 6.0+ and PHP 8.0+.
- Price Free on WordPress.org
- Selection Visual pick → XPath rule
- Durations Forever, day, week, month
- Requires WordPress 6.0+, PHP 8.0+
Why Is the WordPress Admin So Cluttered?
Plugin promotions, upsell notices, and leftover UI steal focus from the work you opened the dashboard to do.
Promo Banners Everywhere
Third-party plugins push upsells, review nags, and marketing blocks into screens you use daily. WordPress ships no native switch to remove admin banners once a plugin decides to show them.
Notices That Never Stop
Dismiss one notice and another appears. Stacks of warnings and tips bury the settings you need and break concentration on every page load.
No Built-In Hide Tool
WordPress settings cannot target arbitrary HTML. Agency and white-label workarounds usually mean custom CSS hacks that break after the next plugin update.
AdsDestroyer hides the blocks you point at. Visual selection, timed or permanent rules, and safe HTML5 removal — a WordPress admin cleanup plugin that stays inside the admin.
What Can This Plugin Hide in the WordPress Admin?
This hide admin notices WordPress plugin ships five concrete capabilities — no invented Pro unlocks, no frontend side effects.
Pick Elements from the Admin Bar
Start selection from the admin bar button. Hover highlights the block, click selects it, then choose Hide forever, for a day, a week, or a month. The element disappears immediately under the chosen duration.
- Admin bar entry point for selection mode
- Hover highlight before you commit
- Click to select any admin HTML block
- Quick durations: forever, day, week, month
Chrome-Style Targeting That Survives Updates
AdsDestroyer auto-generates XPath in a Chrome DevTools style and prefers stable data attributes (data-test, data-testid, data-qa). Dynamic CSS classes are filtered so rules stay useful after UI refactors.
- Automatic XPath generation on select
- Priority for data-test / data-testid / data-qa
- Dynamic class tokens filtered out
- Optional css_selector stored for early hide
Full Control Without Rewriting CSS
Open Settings → AdsDestroyer to review every rule. Edit XPath and labels, toggle active without deleting, remove single rules, or Reset all rules when you need a clean slate.
- Rules table with page title and URL context
- Edit, activate, and deactivate in place
- Delete individual rules safely
- Reset all rules restores the original UI
HTML5 Parsing with Layout-Safe Placeholders
Hidden nodes are processed with an HTML5 parser and replaced by placeholders so admin layout does not collapse. Inline CSS for early hide is capped at 10,240 bytes and cached for 300 seconds.
- HTML5 parser on admin output buffering
- Placeholder replacement instead of raw cuts
- Up to 50 active hide rules
- Inline CSS cache: 300 seconds
Roles, Settings, and Optional Logging
Three tabs: Rules, Settings, and Logs. The settings screen requires manage_options; you can expand which roles may use AdsDestroyer (default: administrator only) and enable logging when you need an audit trail.
- Menu: Settings → AdsDestroyer
- Capability gate: manage_options
- Configurable roles_allowed list
- Logs tab when logging is enabled
How Do You Hide Blocks Without Breaking Admin?
You select a block visually; AdsDestroyer stores a rule and applies it only on admin pages through output buffering and early inline CSS where a selector is available.
Selection Flow
- Step 1 — Click the AdsDestroyer button in the admin bar
- Step 2 — Hover to highlight, then click the target block
- Step 3 — Choose forever, a day, a week, or a month
- Step 4 — Rule saves with page title, URL, and XPath
What Each Rule Stores
- xpath — Generated selector for the hidden block
- label — Human description you can edit later
- expires_at — Temporary expiry or permanent (0)
- page_url — Where the rule was created for context
Create rules from any admin screen without opening Settings first.
If the element is already covered, AdsDestroyer offers to activate the existing rule.
Why Choose This WordPress Admin Cleanup Plugin?
Every benefit below maps to shipping code — not a feature matrix from a paid tier.
Point and Hide
No CSS authoring. Selection mode turns any admin HTML block into a stored XPath rule.
Admin bar → select → durationLayout-Safe Removal
HTML5 parsing plus placeholder spans keep surrounding admin chrome from collapsing when a block is removed.
Placeholder replacementTimed or Permanent
Quick hide uses forever / day / week / month. The edit modal adds finer expirations including hours and longer spans.
Expires automatically when setAdmin-Only Performance
Output buffering and rule processing run only in wp-admin. Public pages are never filtered by AdsDestroyer.
Zero frontend impactRole-Gated Access
Settings require manage_options. Expand roles_allowed when editors or shop managers should hide clutter too.
Default: administratorFree on WordPress.org
GPL plugin with no paid unlock. Requires WordPress 6.0+ and PHP 8.0+.
Slug: ads-destroyerWho Needs a Cleaner WordPress Admin?
Use cases from the AdsDestroyer readme — focus, white label, clients, and day-to-day ops.
Focus & Productivity
Hide promotional noise so dashboards stay usable when you are publishing, editing, or debugging.
White Label WordPress Admin
Strip third-party branding and sensitive panels before you hand a site to a client or partner.
Client Site Handoffs
Remove complex settings blocks clients should not click while keeping the rest of admin intact.
Development Workflow
Hide debug leftovers and temporary UI during staging without shipping custom admin CSS.
Stubborn Upsell Widgets
Target notices and promo boxes that have no plugin setting of their own.
Multisite Per Site
Rules are stored separately for each site in the network. Network-wide sync is not a finished toggle.
Frequently Asked Questions
What is AdsDestroyer?
AdsDestroyer is a free WordPress admin cleanup plugin that hides ads, notices, and any other HTML block in wp-admin by letting you select it visually. It is built for site admins, developers, and agencies who want a quieter dashboard without writing custom CSS. The plugin is free on WordPress.org and requires WordPress 6.0 or higher with PHP 8.0 or higher.
Does AdsDestroyer affect the frontend of my site?
No. AdsDestroyer runs only in the WordPress admin. Output buffering and rule processing never run on public pages.
How do I hide an element with AdsDestroyer?
Click the AdsDestroyer button in the admin bar, hover to highlight a block, click to select it, then choose forever, a day, a week, or a month. The rule is saved and applied immediately.
Is AdsDestroyer free?
Yes. AdsDestroyer is a free plugin on WordPress.org with no paid tiers or premium unlock. It requires WordPress 6.0+ and PHP 8.0+.
Where do I manage rules and permissions?
Open Settings → AdsDestroyer. The Rules tab lists every hide rule; Settings covers roles and logging; Logs appears when logging is enabled. Access uses the manage_options capability.
What happens if I try to hide something already hidden?
AdsDestroyer detects the conflict and offers to activate the existing rule instead of creating a duplicate XPath entry.
Can I undo a hide if I selected the wrong block?
Yes. Deactivate or delete the rule in Settings → AdsDestroyer, or use Reset all rules to clear every rule at once.
Does AdsDestroyer support WordPress multisite?
Yes for per-site rules: each site in the network stores its own rules. A network-wide mode is documented as planned, not as a finished setting.
Need Help?
Our support team helps with installation, configuration, troubleshooting, and feature requests.
- Install & first-rule walkthrough
- XPath rule editing help
- Troubleshooting broken admin layout
- Role access & logging setup
Clean Your Admin in One Click
Install AdsDestroyer free from WordPress.org, open any admin screen, and hide the next banner that gets in your way. No premium upgrade. No frontend impact.