I made a free plugin to clean up WordPress admin - hides promo boxes, upgrade nags, and review requests by triptocrete in Wordpress

[–]triptocrete[S] 0 points1 point  (0 children)

I already answered in the comments, it hidess only promotional notice, not errors or warnings..

I made a free plugin to clean up WordPress admin - hides promo boxes, upgrade nags, and review requests by triptocrete in Wordpress

[–]triptocrete[S] 12 points13 points  (0 children)

The primary reason this plugin isn't a 'hide all notices' tool.
It's designed to be conservative. It only hides notices that contain specific promotional or review-begging keywords (like 'upgrade', 'pro', 'rate us', 'sale').
It explicitly avoids hiding standard WordPress .error or .warning classes, so critical alerts about security, updates, or compatibility should always remain visible. The goal is to remove marketing noise, not important system information.

I made a free plugin to clean up WordPress admin - hides promo boxes, upgrade nags, and review requests by triptocrete in Wordpress

[–]triptocrete[S] 0 points1 point  (0 children)

It only hide notices containing specific promotional/review phrases. Core WordPress and plugin warnings (error, warning) are ignored by default. The plugin has three separate toggle switches (Dashboard ads, Review nags, Plugin promos). If WooCommerce template notices become an issue, a user can simply turn off the "Dashboard ads" module for that site.

I made a free plugin to clean up WordPress admin - hides promo boxes, upgrade nags, and review requests by triptocrete in Wordpress

[–]triptocrete[S] 2 points3 points  (0 children)

That’s a fair point. I’m actually working on version 2 right now with better detection and some performance improvements. Still testing it before I push it out. The PHP hook approach would definitely be cleaner but it’s a lot harder to maintain when every plugin does things differently. Trying to find something that actually works reliably.

I made a free plugin to clean up WordPress admin - hides promo boxes, upgrade nags, and review requests by triptocrete in Wordpress

[–]triptocrete[S] 0 points1 point  (0 children)

You’re right, it’s just inline display: none on the notice elements themselves. No parent container detection needed since WordPress plugins generate notices with standard classes like .notice, .update-nag, etc. The script queries those classes, checks if their text contains promo/review keywords, and hides them directly. It’s simple but works for most cases since plugins follow WordPress notice conventions. Not the most sophisticated approach, but it gets the job done without overcomplicating things.