DISCLAIMER: this post is older than one year and may not be up to date with latest WordPress version.

If for some reason you don’t like to see the “plugins” and “other news” dashboard widget, here’s a way to remove them using some easy WordPress hooks.

Simply paste the code below in your functions.php file. Once you saved the changes, the “plugins” and “other news” widgets will not be shown again.

//Remove unwanted widgets from Dashboard
function remove_dashboard_widgets() {
	global$wp_meta_boxes; 
	unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']);
	unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']);
}
add_action('wp_dashboard_setup', 'remove_dashboard_widgets');

Thanks to WP Guru for the code!

2 Comments

  1. Thanks for this! Its a great tip for cleaning up the admin console when needed.

    One suggestion for uninitiated folks using this recipe: you need a space after global and before the $ in this line: “global $wp_meta_boxes;”

    Cheers,

    Michael

  2. Another great recipe, Thanks!

Leave a Comment

Your email address will not be published. Required fields are marked *