add_action('admin_enqueue_scripts', 'ds_admin_theme_style');
add_action('login_enqueue_scripts', 'ds_admin_theme_style');
function ds_admin_theme_style() {
echo '<style>#yoast-indexation-warning, .update-nag, .updated, .notice-error, .error, .is-dismissible { display: none !important; }</style>';
}
Disable Plugin Update Notifications
remove_action('load-update-core.php','wp_update_plugins');
add_filter('pre_site_transient_update_plugins','__return_null');