/* Plugin Name: Dashcleaner Description: Removes unwanted dashboard items */ add_action('wp_dashboard_setup', 'jc_remove_dashboard_widgets'); function jc_remove_dashboard_widgets() { remove_meta_box('dashboard_primary', 'dashboard', 'side'); // Wordpress.com Blog remove_meta_box('dashboard_right_now', 'dashboard', 'noraml'); // Right Now - At a glance remove_meta_box('dashboard_activity', 'dashboard', 'normal'); // Activity remove_meta_box('dashboard_secondary', 'dashboard', 'side'); remove_meta_box('dashboard_recent_drafts', 'dashboard', 'side'); remove_meta_box('dashboard_plugins', 'dashboard', 'normal'); remove_meta_box('dashboard_quick_press', 'dashboard', 'side'); // Quick Draft remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal'); remove_meta_box('dashboard_incoming_links', 'dashboard', 'normal'); remove_action('welcome_panel', 'wp_welcome_panel'); remove_action('try_gutenberg_panel', 'wp_try_gutenberg_panel'); }
New WordPress website is being built and will be published soon