Skip to content

WordPress admin notices — silencing the noisy without missing the important

WordPress admin notices from plugins drown the real warnings in vendor noise. How to suppress promotional notices, keep critical ones, and stay sane.

A WordPress site with 25 plugins ships, on average, six admin notices on every page load: rate-this-plugin nags, upsell banners, “thanks for using” greetings, and the occasional actual warning about a misconfiguration. The signal-to-noise ratio is poor, the editorial team learns to ignore notices entirely, and when a real warning lands — “WP Cron is not running, scheduled posts will not publish” — it gets dismissed without a glance. Suppressing the noise without suppressing the signal takes a small, deliberate plugin.

What’s happening

Plugins register admin notices through the admin_notices, network_admin_notices, or all_admin_notices actions. WordPress renders every callback hooked there into the screen. There is no priority, no severity, no built-in dismiss-permanently. The convention is for plugins to add a “Dismiss” button that sets a user-meta flag, but many plugins don’t bother — the notice re-renders forever.

Critical notices from WordPress core (Site Health warnings, “WordPress is up to date”, failed auto-update) use the same admin_notices hook as the “Rate Plugin X” upsell. Treating them differently means knowing which is which.

How to verify

wp eval 'global $wp_filter; foreach ( ["admin_notices", "all_admin_notices"] as $hook ) { if ( isset( $wp_filter[$hook] ) ) { foreach ( $wp_filter[$hook]->callbacks as $priority => $callbacks ) { foreach ( $callbacks as $cb ) { echo "$hook ($priority): " . ( is_array($cb["function"]) ? get_class($cb["function"][0]) . "::" . $cb["function"][1] : ( is_string($cb["function"]) ? $cb["function"] : "closure" ) ) . PHP_EOL; } } } }'

wp plugin list --status=active --fields=name,version | head -30
wp user meta get 1 dismissed_pointers

Load the wp-admin homepage in a browser and count the notices. Anything above three on a clean dashboard means the noise level is hurting the team.

The fix

A small mu-plugin wp-content/mu-plugins/silent-admin.php:

  1. Remove specific noisy actions. remove_action( 'admin_notices', 'plugin_class_name::display_notice' ) works when you know the exact callback. WP-CLI’s hook inspection above gives you the list.
  2. Filter notices by plugin author. Some teams ship a generic “rate us” notice; suppressing it at the source spares you the per-plugin removal: wrap ob_start around do_action('admin_notices'), parse the buffer, drop any block that matches a noise pattern.
  3. Keep core notices intact. WordPress core notices live in wp-admin/includes/update.php, Site_Health class, and WP_Site_Health. Never suppress these globally — they’re how the system tells you something is wrong.
  4. Show notices only to administrators. Many plugins show notices to every user, including Authors. if ( ! current_user_can( 'manage_options' ) ) { remove_action( 'admin_notices', [...] ); } cleans up the experience for the editorial team without hiding warnings from admins.
  5. Audit on every plugin add. When a new plugin lands, check the notices it ships in its first 24 hours. Plugins that show three banners on activation rarely improve over time — pick a quieter alternative if one exists. Stack Harbor’s enterprise WordPress hosting operating model treats admin noise as a metric, not as an aesthetic preference.

Stack Harbor’s enterprise WordPress hosting operating model includes admin UX hygiene as part of standard onboarding — the editorial team should not have to learn which notices to ignore. When the dashboard is unreadable from plugin noise, start the conversation.