[WordPress] 外掛分享: WP Updates Notifier

首頁 › 外掛目錄 › WP Updates Notifier
WordPress 外掛 WP Updates Notifier 的封面圖片
20,000+
安裝啟用
★★★★☆
4.2/5 分(35 則評價)
3 天前
最後更新
—
問題解決
WordPress 6.7+ PHP 7.4+ v2.0.0 上架:2011-05-31

內容簡介

這個外掛程式會監控你的 WordPress 安裝,並會在核心、外掛程式和佈景主題更新時發送電子郵件通知你。如果你不經常登入 WordPress 管理員,或支援客戶的網站,這個外掛程式非常適合你。

功能

設定更新檢查的時間間隔:每小時、兩次每天或每天一次。
設定 WordPress 檢查更新的頻率,這樣你就可以更早地了解更新了。
以電子郵件的方式獲得關於核心、外掛程式和佈景主題更新的通知。
選擇是否要被通知關於僅活躍的佈景主題和外掛程式的更新。
移除非管理者使用者的升級提示訊息。
對於高級使用者,有許多過濾器和動作可用。更多即將推出。

這個外掛程式是“Update Notifier”的分支版本。這個外掛程式的原因是,現有的外掛程式似乎已經沒有再進一步的開發了,而且也沒有辦法聯繫原始作者來詢問是否可以接手開發。WP Updates Notifier 優於Updates Notifier的改進如下:

從頭開始完全重寫,使用WordPress插件寫作的最佳實踐
代碼包裝在一個類中,因此更好的命名空間。
你可以設定cron的間隔,進行更頻繁的檢查。
通知之前會觸發WordPress內部更新檢查。
允許你設置“來源地址”。
允許您設置多個“收件人地址”。
利用了設置API。
高級用戶可用的幾個鉤子和過濾器。
提供積極支援和開發。

語言

法語由Christophe Catarina - 2013年7月3日添加
德語由Alexander Pfabel - 2012年10月2日添加

過濾器

為了讓你能夠更改 WP Updates Notifier 發送的電子郵件主題和內容,提供了兩個過濾器。

sc_wpun_email_subject

@parameters:
$email_subject - 要過濾的電子郵件主題。

例子:

/*
* 更改 WP Updates Notifier 發送的電子郵件主題。
*/
function alter_wp_updates_notifier_email_subject( $email_subject ) {
$email_subject = '這是更新通知的新電子郵件主題';
return $email_subject;
}
add_filter( 'sc_wpun_email_subject', 'alter_wp_updates_notifier_email_subject' );

sc_wpun_email_content

@parameters:
$message - 要過濾的電子郵件內容

例子:

/*
* 更改 WP Updates Notifier 發送的電子郵件內容。
*/
function alter_wp_updates_notifier_email_content( $message ) {
$message = '這是我們的新電子郵件內容,將覆蓋預設內容。';
return $message;
}
add_filter( 'sc_wpun_email_content', 'alter_wp_updates_notifier_email_content' );

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Updates Notifier」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WP Updates Notifier checks your site on a schedule and emails you when WordPress core, a plugin or a theme has an update waiting, so you know without logging in. It is made for sites you rarely visit and for sites you look after for clients.
Each new version is reported once, not on every check. Version 2.0.0 is a ground-up rewrite of a plugin first released in 2011: the same simple promise, with the testing, accessibility and security work a plugin on this many sites deserves.
What it does

Checks for core, plugin and theme updates hourly, twice daily, daily or weekly.
Tells you about each new version once, with optional daily or weekly reminders about updates you haven’t installed yet.
Sends email to one or more addresses, with a test send to check it arrives.
Lets you set up more than one email channel, each with its own recipients, its own choice of updates and its own reminders.
Can watch only the plugins and themes you have active.
Runs a check on demand with Check for updates and notify now.
Hides the WordPress update notice from users who cannot update WordPress.
Takes its channels and settings from code if you like: wp-config.php constants, environment variables or your own configuration source, so a fleet of sites can share one setup.
Comes in 11 languages besides English: Chinese (Simplified), Dutch, French, German, Hebrew, Italian, Japanese, Polish, Portuguese (Brazil), Russian and Spanish.

Built for developers

A public, versioned API lets add-ons bring their own notification channels, item types, routing rules and configuration sources. See the developer guide.
Every action and filter is documented in the hook reference.

Accessible and security conscious

The settings screen is checked against WCAG 2.2 AA with axe and keyboard tests on every change.
A published threat model, security tests for every request handler, static and taint analysis on every change, and signed releases with build provenance you can verify.

Free and open source
GPL-2.0-or-later and developed in the open on GitHub. No tracking, no analytics and no account to sign up for.
The full documentation, including the user guide, is at wpun.cariss.dev.
Requirements
WordPress 6.7 or newer and PHP 7.4 or newer, on a single site. Version 2.0.0 does not support multisite networks.

延伸相關外掛

文章
Filter
Mastodon