Created
August 10, 2022 06:52
-
-
Save maddisondesigns/6bc52b3a8f8630959cfc17f07ab383d9 to your computer and use it in GitHub Desktop.
Remove the WordPress Site Health Dashboard Widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Remove the Site Health Dashboard Widget | |
*/ | |
function ephemeris_remove_site_health_dashboard_widget() { | |
remove_meta_box( 'dashboard_site_health', 'dashboard', 'normal' ); | |
} | |
add_action( 'wp_dashboard_setup', 'ephemeris_remove_site_health_dashboard_widget' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment