[WordPress] 外掛分享: Remove Site Health From Dashboard

首頁外掛目錄 › Remove Site Health From Dashboard
1,000+
安裝啟用
★★★★
4/5 分(2 則評價)
393 天前
最後更新
問題解決
WordPress 5.3+ PHP 5.6+ v1.1.2 上架:2020-04-17

內容簡介

如果您管理多個 WordPress 網站,您可能會發現您會收到很多關於網站健康的電話,因為這已經被放在您的網站所有者眼前。
如果這是您自己的網站,這是好事,但如果您從非技術客戶那裡接到電話,那就不太好了。
因此,這款外掛可以將它移除。它非常簡單和輕量級。
這是如何移除它的程式碼,如果您不想要一個外掛的話。
但是,如果您管理多個網站,您可能需要一個外掛,這樣您就可以通過您的管理工具批量推送它。
add_action(
/**
* 從儀表板中移除網站健康狀態
*/
'wp_dashboard_setup',
function () {
global $wp_meta_boxes;
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health'] );
}
);

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Remove Site Health From Dashboard」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

If you manage multiple WordPress sites, you may find you get lots of calls about site health as this has been put right in front of your site owners eyes.
This is a good thing if it is your own site but no so good if you are getting calls from non technical clients.
So this plugin removes it. Simple and as lightweight as any code snippet can be.
Additionally if you want to hide the Site Health from the tools menu, you can set
RSHFD_REMOVE_SITE_HEALTH_FROM_TOOLS in wp-config.php to true
define('RSHFD_REMOVE_SITE_HEALTH_FROM_TOOLS', true);

文章
Filter
Mastodon