Simplifying WordPress: Removing Update Notifications

Explore a quick and efficient solution to streamline your WordPress experience by removing unnecessary update notifications. Whether you’re an admin or a non-admin user, this guide will help you tailor your Dashboard Screen effortlessly.

When logging into the WordPress backend, the constant presence of update notifications can be overwhelming, especially for non-admin users without update privileges. Fortunately, a concise code snippet can resolve this issue and provide a cleaner Dashboard Screen.

The Swift Solution

Implement the following code snippet into your functions.php file to selectively hide update notifications for non-admin users:

functions.php
<?php
global $user_login;
get_currentuserinfo();

if (!current_user_can('update_plugins')) {
    add_action('init', function () {
        remove_action('init', 'wp_version_check');
    }, 2);

    add_filter('pre_option_update_core', function () {
        return null;
    });
}
?>

This code ensures that update notifications are only visible to users with administrator privileges, offering a simplified WordPress experience.

Implementation Steps:

  1. Access Your functions.php File: Open your WordPress theme directory and locate the functions.php file.
  2. Insert the Code Snippet: Copy and paste the provided code snippet into your functions.php file.
  3. Save and Experience the Difference: Save the changes, and you’re done! Non-admin users will no longer be bothered by unnecessary update notifications, promoting a more focused and user-friendly WordPress environment.

Conclusion

In conclusion, taking control of update notifications in WordPress is now a breeze with this straightforward code snippet. Optimize your Dashboard Screen and enjoy a clutter-free WordPress experience by following these simple steps.