Thisismyurl Dashboard Notice Control suppresses all admin notices in the WordPress dashboard.
If this plugin saves you time, consider supporting the work at https://github.com/sponsors/thisismyurl.
What it does:
admin_notices, all_admin_notices, network_admin_notices, and user_admin_notices.#wpbody-content.Important:
Safety controls:
Ease-of-use shortcuts:
Per-plugin allowlist:
Enter plugin slugs (one per line) at Settings > Thisismyurl Dashboard Notice Control. Notices from allowlisted plugins pass through suppression. Matching compares the notice callback’s source file against that plugin’s own folder inside the plugins directory, including plugins installed via a symlink or junction. Slugs are lowercased, so a plugin folder with uppercase letters should be entered in lowercase.
Support:
Notices can be kept visible on individual admin screens while staying suppressed everywhere else, so a screen where a notice carries real workflow meaning does not have to be won by turning the plugin off.
add_filter( 'thisismyurl_dashboard_notice_control_suppress_on_screen', function ( $suppress, $screen_id ) {
// Keep notices on the Updates and Site Health screens.
if ( in_array( $screen_id, array( 'update-core', 'site-health' ), true ) ) {
return false;
}
return $suppress;
}, 10, 2 );
The filter receives the suppression decision, the current screen ID, and the WP_Screen object. When no screen has been determined yet the ID is an empty string and suppression stays on, so an unrecognised context never silently stops suppressing. Keep your callback free of side effects: it runs several times per request.
This plugin’s own settings screen is exempt by default. WordPress prints the “Settings saved.” confirmation directly rather than through a notice hook, so without the exemption you would save the allowlist and get no confirmation at all. Return true from the filter for that screen if you want it suppressed anyway.
Note that the same is true of other Settings screens: saving Settings > General or Reading prints its confirmation the same way, and it is hidden while suppression is on. Exempt those screens with the filter if your team relies on that confirmation.
A read-only status command reports what the site is currently hiding and what is controlling it, which is useful in a deploy script or across a fleet without opening wp-admin.
wp thisismyurl-dashboard-notice-control status
wp thisismyurl-dashboard-notice-control status --format=json
It reports the plugin version, whether suppression is enabled, whether the enable and bypass constants are defined, whether JS auto-dismiss is on, whether network notices are suppressed, and the current allowlist. The command never writes anything; use the settings screen, the constants, or the filters to change behaviour.
This plugin can create accessibility and compliance risk because it suppresses status and error messaging in wp-admin.
If your admin users rely on assistive technologies, do not run this plugin without testing and operational controls.
Minimum recommended practice:
THISISMYURL_DASHBOARD_NOTICE_CONTROL_AUTO_DISMISS disabled (default).Recent a11y review outcome: