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