How to Hide WordPress Core Update Notification from the Dashboard (without Plugin)

Want to hide the WordPress core update notification from your WordPress dashboard? Let’s say that you want to reduce the clutter of your WordPress dashboard and focus more on the essential aspects of managing your website. Or, maybe you want to ensure that updates are only implemented after proper evaluation to minimize risks and prevent any potential negative impact on the website’s performance or functionality.

In this tutorial, we will guide you through hiding the WordPress core update notification on your website without using any plugins. Let’s dig in!

Disabling Core Update Notification on the WordPress Dashboard

Start by navigating to Appearance  Theme File Editor from your WordPress dashboard. On the Edit Themes page, click the functions.php from the Theme Files list to open the file editor. If you use a block theme, you can find Theme File Editor under the Tools menu.

Since this tutorial uses a file from an active theme, you might want to back up your site to avoid breaking your theme. And you can use a child theme or create a plugin yourself for the snippets to avoid losing your changes when you update or change your theme.

Hide the Notification on All Users

To hide the update notification on all users at any level, place the following code snippet at the bottom of the file.

function wpp_hide_wpupdate_notif() {
    remove_action( 'admin_notices', 'update_nag', 3 );
}

add_action('admin_menu','wpp_hide_wpupdate_notif');

Click the Update File button to apply the code and reload the page to see the result.

Show the Notification for Admin Only

To hide the update notification for all users except users with admin roles, place the following code snippet at the bottom of the file.

function wpp_hide_wpupdate_notif() {
    if ( ! current_user_can( 'update_core' ) ) {
        remove_action( 'admin_notices', 'update_nag', 3 );
    }
}

add_action('admin_menu','wpp_hide_wpupdate_notif');

Click the Update File button to apply the code and the update notification will not show on users with roles below the admin role which have the 'update_core' capability.

The Bottom Line

You might want to hide the WordPress core update notification to reduce the clutter of your WordPress dashboard, or, maybe you want to ensure that updates are only implemented after proper evaluation. However, take note that regularly updating WordPress, themes, and plugins is crucial for maintaining site security, compatibility, and accessing the latest features and improvements. So, make sure you have other ways to keep you vigilant about keeping your WordPress site up to date.

This page may contain affiliate links, which help support our project. Read our affiliate disclosure.
Picture of Hendri Risman

Hendri Risman

Hendri is a WordPress expert and a writer staff at WPPagebuilders. He writes solutions on how to get things fixed in WordPress a lot. Mostly without involving a plugin.
Want to start a profitable blog with WordPress? OF COURSE!

Leave a Comment

Want to outrank big websites on Google?

Without backlinks, without high DR, without digital PR. Just content optimization.

Click to enlarge.

Hey 👋🏻
Got WordPress knowledge?
Why not turning it into profit? Click the button below to learn how.

Your popup content goes here

50%

Where should we send the template?

After entering your email address, you will be added to our newsletter subscribers. You can unsubscribe anytime.