'clean_dashboard', 'title' => 'Clean dashboard widgets', 'desc' => 'Remove five default dashboard widgets', 'icon' => 'layout', 'risk' => 'safe', 'level' => 'beginner', 'audience' => 'everyone', 'priority' => 3, 'benefit' => 'Removes default dashboard widgets that many site owners do not use, so the dashboard is less cluttered. Widgets added by other plugins stay.', 'help' => 'Removes these widgets from the dashboard for all users: WordPress Events and News, Quick Draft, Activity, At a Glance and Site Health Status. Site Health itself stays available under Tools → Site Health.', 'before' => 'Dashboard shows the default WordPress widgets', 'after' => 'Those five widgets removed.', 'callback' => function () { add_action( 'wp_dashboard_setup', function () { remove_meta_box( 'dashboard_primary', 'dashboard', 'side' ); remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' ); remove_meta_box( 'dashboard_activity', 'dashboard', 'normal' ); remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' ); remove_meta_box( 'dashboard_site_health', 'dashboard', 'normal' ); }, 999 );}, );