How To Remove Update Notifications in WordPress

When you log into the backend of WordPress, you’ll see update notifications. If you’re not an admin user and even if you don’t have the privilege to update plugins or themes, you’ll see the update notifications in your Dashboard Screen. By default, WordPress displays update notifications to all users when they log into the backend. You can remove update notifications in WordPress by just using a simple snippet.

Scientists say that the prolonged notifications will give you a heart attack... Click To Tweet

If you want to hide update notifications to all users except Administrator users, add the following code in your functions.php file:

global $user_login;
if (!current_user_can('update_plugins')) { // checking to see if current user can update plugins 
add_action( 'init', create_function( '$a', "remove_action('init', 'wp_version_check' );" ),2);
    add_filter( 'pre_option_update_core', create_function('$a', "return null;" ));
} ?>