[WordPress] 外掛分享: Tiny Simple Admin Notice Silencer

首頁 › 外掛目錄 › Tiny Simple Admin Notice Silencer
WordPress 外掛 Tiny Simple Admin Notice Silencer 的封面圖片
30+
安裝啟用
—
尚無評分
37 天前
最後更新
—
問題解決
WordPress 6.1+ PHP 7.4+ v1.0.0 上架:2026-09-22

內容簡介

Tiny Simple Admin Notice Silencer 外掛的主要功能是靜音 WordPress 管理員的通知郵件,避免因為大量相似的郵件而使重要信息被淹沒。啟用後,無需任何設定,所有不必要的通知將自動停止。

【主要功能】
• 停止自動更新通知郵件
• 靜音新用戶註冊及密碼變更通知
• 隱藏評論審核請求及新評論通知
• 阻止隱私請求確認通知
• 保留重要的恢復模式通知

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Tiny Simple Admin Notice Silencer」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WordPress emails the site admin about almost everything it does. A plugin auto-updated, or failed to. Someone registered. A comment is waiting for moderation. A privacy request got confirmed. On a busy site that’s a steady stream of near-identical mail, and the few messages that matter get buried in it.
I built Tiny Simple Admin Notice Silencer to switch that off. Activate it and the admin notifications stop. There’s nothing to configure – no settings page, no options, no admin menu.
What it silences

Automatic updates – plugin, theme and core auto-update result emails, the “a new WordPress version is available” notice, and the auto-update debug dump.
Accounts – the “New User Registration” and “Password Lost and Changed” notices sent to the admin, plus the notice that the site admin address changed.
Comments – comment moderation requests, and “new comment on your post” notices when the admin wrote the post.
Privacy requests – the “a request was confirmed” notice sent to the admin.
WP Mail SMTP – the weekly “Email Summary” digest, if you have that plugin installed.

What it leaves alone, on purpose

Recovery Mode – when a fatal error takes your site down, WordPress emails you a recovery link. That’s the one notification you always want, so the plugin doesn’t touch it.
Emails your users get – welcome emails for new users, password-reset links, password and email change confirmations sent to the account holder, privacy confirmations sent to whoever asked, order and form mail from other plugins. All of it still goes out.
wp_mail() itself – there’s no global off switch. Nothing gets intercepted, redirected or dropped.

One detail worth knowing. Notices like “your password was changed” or “someone commented on your post” go to the account holder, who isn’t always the admin. If I silenced them for everyone, every member would lose their warning that someone took over their account. So the plugin only suppresses them when the account holder is the admin. Your users keep their security mail and your inbox gets quiet.
For developers: six filters
You can switch each group back on separately, and add more addresses to the admin list, from a small plugin or mu-plugin.
Where you put add_filter matters. The plugin reads the five group filters once, on plugins_loaded. If you register a callback after that – in a theme’s functions.php, on init, or on plugins_loaded at a priority above 10 – it never runs and nothing tells you. Put group opt-outs in an mu-plugin or at the top level of a plugin file. tsans_admin_addresses doesn’t have this problem, because it’s read each time a notice is checked.
// Keep comment notifications flowing to the admin.
add_filter( 'tsans_disable_comment_emails', '__return_false' );

// Treat these addresses as "the admin" too, so their own
// account notices are silenced as well.
add_filter( 'tsans_admin_addresses', function ( $addresses ) {
$addresses[] = '[email protected]';
return $addresses;
} );

tsans_disable_update_emails – the five automatic-update gates (default true).
tsans_disable_account_emails – account notices sent to the admin (default true).
tsans_disable_comment_emails – comment moderation and notices on the admin’s own posts (default true).
tsans_disable_privacy_emails – the privacy-request confirmation sent to the admin (default true).
tsans_disable_third_party_emails – the WP Mail SMTP weekly summary (default true).
tsans_admin_addresses – array of addresses treated as “the admin”. Default is array( get_option( 'admin_email' ) ). A single string works too, and the match ignores case.

From the maker of WP Multi Tool
This plugin is built by the same developer behind WP Multi Tool — the Swiss Army knife for WordPress developers and site administrators. If you manage multiple WordPress sites, check it out.

延伸相關外掛

文章
Filter
Mastodon