Created
August 19, 2024 04:47
-
-
Save maddisondesigns/76e0864ffe5df3439f3d0bc57610db0d to your computer and use it in GitHub Desktop.
Remove 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 Site Health Dashboard Widget | |
*/ | |
function remove_site_wp_dashboard_widgets() { | |
remove_meta_box( 'dashboard_site_health', 'dashboard', 'normal' ); | |
} | |
add_action( 'wp_dashboard_setup', 'remove_site_wp_dashboard_widgets' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment