MainWP Community

Remove Yoast SEO Dashboard Widget

Use this code snippet to disable the dashboard widget for Yoast SEO on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_action('wp_dashboard_setup', 'remove_wpseo_dashboard_overview' );
function remove_wpseo_dashboard_overview() {
  // In some cases, you may need to replace 'side' with 'normal' or 'advanced'.
  remove_meta_box( 'wpseo-dashboard-overview', 'dashboard', 'side' );
}
2 Likes