N
WS No-tifications
v1.0.0WordPressWP 7.1PHP 7.4+GPL-2.0-or-later
WordPress and its plugins print notices on top of every admin screen: update nags, "connect your account", "finish the setup", upgrade banners. WS No-tifications takes them off the screens and collects them on one page per user. A bell next to the user menu shows how many are waiting.
Download v1.0.0
Features
- Admin screens without notices. The notices that core and plugins print through the notice hooks no longer show. A screen's own result messages stay, for example "Post updated." or "Settings saved.".
- A bell in the admin bar, just left of "Howdy, name", with the number of notices. The number is red when one of them is an error. The bell shows in wp-admin and on the front end.
- "Notifications (N)" in the user menu, above "Log Out".
- Dashboard, Notifications: the list of collected notices, errors first. Each notice keeps its own links and buttons, and shows its type, the screen it came from, when it last appeared and how many times.
- Hide moves a notice to a "hidden" list, Show again brings it back. A hidden notice stays hidden while it keeps coming back.
- One list per user, so an editor sees only the notices WordPress shows to an editor. Notices are merged by their text; one that does not appear again for 7 days leaves the list.
How it works
- On each admin screen the plugin buffers the output of the notice hooks (
network_admin_notices, user_admin_notices, admin_notices, all_admin_notices).
- It moves every element that looks like a notice (class
notice, updated, error or update-nag, with visible text) into the current user's list.
- It prints everything else back unchanged: scripts, styles, hidden elements and any other markup that plugins put on those hooks.
Requirements
- WordPress 6.9+, single site
- PHP 7.4+
- Tested up to WordPress 7.1
Install
- Download the zip above.
- In WordPress go to Plugins, Add New, Upload Plugin, and upload it.
- Activate WS No-tifications from the Plugins screen. There is no configuration.
Updates are self-hosted: the plugin reads its Update URI header and checks https://websqu.ad/updates/ws-no-tifications.json. New versions show up in the standard WordPress updates screen.
Filters
ws_nt_is_notice — ( bool $notice, DOMElement $el ); return false to keep an element on its screen.
ws_nt_retention_days — ( int $days ); days a notice stays listed after it last appeared (default 7).
Data
User meta ws_nt_notices (the list) and ws_nt_hidden (hidden notices), one row each per user, plus the site transient wsnt_update_manifest (update check, 6 hours). Uninstall removes all of them.
Translations
Romanian included (languages/ws-no-tifications-ro_RO.l10n.php).
websquad — brandsquad OÜ, Estonia. Support: [email protected]
WP Plugins · Homepage