Disable the site health dashboard widget in WordPress 5.4.
Snippet Type
Execute on Child Sites
Snippet
add_action('wp_dashboard_setup', 'remove_site_health_dashboard_widget');
function remove_site_health_dashboard_widget()
{
remove_meta_box('dashboard_site_health', 'dashboard', 'normal');
}
4 Likes
wpexpert
(Frederic)
2
Hi @sebastian-moran,
Does it change something to disable it? Improve speed in the admin? Reduce the use of the resources?
Thanks
It will improve the load time of the admin without another admin dashboard to load.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.