Default widgets and third-party plugin widgets can clutter the admin area. Disable them with:
function remove_dashboard_widgets() {
remove_meta_box(‘dashboard_quick_press’, ‘dashboard’, ‘side’);
remove_meta_box(‘dashboard_primary’, ‘dashboard’, ‘side’);
}
add_action(‘wp_dashboard_setup’, ‘remove_dashboard_widgets’);
This improves load time and admin clarity.
Leave a Reply