WordPress limit dashboard widgets is a quick way to clean up your admin area. Remove unwanted widgets and keep the dashboard simple — no plugin needed!
Add this to your child theme’s functions.php
file:
function qdt_remove_dashboard_widgets() {
remove_meta_box( ‘dashboard_quick_press’, ‘dashboard’, ‘side’ );
remove_meta_box( ‘dashboard_recent_drafts’, ‘dashboard’, ‘side’ );
remove_meta_box( ‘dashboard_primary’, ‘dashboard’, ‘side’ );
remove_meta_box( ‘dashboard_secondary’, ‘dashboard’, ‘side’ );
}
add_action( ‘wp_dashboard_setup’, ‘qdt_remove_dashboard_widgets’ );
How It Works
This WordPress limit dashboard widgets snippet removes the default meta boxes like Quick Draft, WordPress News and more from the admin dashboard.
Why WordPress Limit Dashboard Widgets?
Fewer widgets mean a cleaner, faster dashboard. Perfect for client sites or when you don’t want distractions on login.
Common Mistake
Always check which widgets you really need. Some plugins add useful widgets you may want to keep.
Pro Tip
You can also create your own custom dashboard widgets for important info only.