We'll create fresh WordPress site with Remove Site Health From Dashboard installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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'] );
}
);