Remove Site Health From Dashboard

Apraksts

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'] );
    }
 );

Uzstādīšana

Install like any plugin

BUJ

Are there any options?

No! It is light weight.

Can I buy you a drink?

Sure, use the donate link

Atsauksmes

3 jūlijs, 2020
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' );
Lasīt 2 atsauksmes

Autori un izstrādātāji

“Remove Site Health From Dashboard” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Izmaiņu žurnāls

1.0

  • The first and hopefully only release