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.

This is the code, if you don’t want a plugin.

But if you manage multiple sites you probably do want a plugin so you can push it out in bulk via your management tool

add_action(
 /**
  *   Remove Site Health from the Dashboard
  */
    'wp_dashboard_setup',
    function () {
        global $wp_meta_boxes;
        unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health'] );
    }
 );

安裝方式

Install like any plugin

常見問題集

Are there any options?

No! It is light weight.

Can I buy you a drink?

Sure, use the donate link

使用者評論

2020 年 7 月 3 日
It would be better if it also removed the Tools > Site Health function as well. There is simple code function escode_remove_site_health_feature() { remove_submenu_page( 'tools.php', 'site-health.php' ); } add_action( 'admin_menu', 'escode_remove_site_health_feature' );
2020 年 5 月 5 日 1 則留言
Thank you for this handy plugin, it works well!
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Remove Site Health From Dashboard〉的開發相關工作。

參與者

變更記錄

1.0

  • The first and hopefully only release