Remove the At a Glance or Right Now Widget from your Dashboard

Hi guys. Today I will explain to you how to remove the At a Glance or Right Now Widget from your Dashboard in Wordpress.

at a glance

To remove the At a Glance widget from your Dashboard you must only add the code:

function scrisoft_remove_ataglance() {
remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' );
}
add_action( 'wp_dashboard_setup', 'scrisoft_remove_ataglance' );

in the functions.php file

to remove the Activity widget, you must add this code:

remove_meta_box( 'dashboard_activity', 'dashboard', 'normal' );

Full code:

function scrisoft_remove_ataglance() {
remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' );
remove_meta_box( 'dashboard_activity', 'dashboard', 'normal' );
}
add_action( 'wp_dashboard_setup', 'scrisoft_remove_ataglance' );

Also, you can watch my video tutorial for this subject:









Leave a Comment