wordpress functions.php remove dashboard code example
Example: wordpress remove all dashboard widgets
$wp_meta_boxes['dashboard']['normal']['high']['dashboard_browser_nag'];
$wp_meta_boxes['dashboard']['normal']['high']['dashboard_php_nag'];
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now'];
$wp_meta_boxes['dashboard']['normal']['core']['network_dashboard_right_now'];
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_activity'];
$wp_meta_boxes['dashboard']['normal']['core']['health_check_status'];
$wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'];
$wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'];