Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Hide the WordPress Upgrade Message in the Dashboard

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Hide the WordPress Upgrade Message in the Dashboard

There was a huge debate on Digging into WordPress blog whether developers should let their client’s upgrade or not. We believe to educate our clients and encourage them to be self-sufficient therefore we have created an infographic that shows you a step by step guide to upgrade WordPress. For Backing up WordPress, we recommend using BackupBuddy Plugin to our clients. But we do have clients that do not want to deal with maintenance updates, so they want us to take care of them therefore we also have that option available. For these clients, we hide the WordPress Upgrade Message.

All you have to do is simply open the theme’s functions.php file and add this:

function wphidenag() {
remove_action( 'admin_notices', 'update_nag', 3 );

There are plugins available that does this job, but we prefer to use the code above. Now remember, this only removes the upgrade bar that shows on all screens. It does not disable the Plugin updates or theme update notifications that shows up on the update page. For our clients that have us do the maintenance for them, we make sure that their site is up to date with all plugins, and the core.

Now Jeff Star posed an issue that he has to go in client’s dashboard to see whether plugins and such are activated. Well we already have a fix for that. We are using WP Status Dashboard (Our Tutorial on How to use WP Status Dashboard). This plugin/script lets us view all of our clients information on one screen, so we know exactly what needs to be upgraded on which client.

Remember, keeping your WordPress up to date is essential for site security. So if you do remove the nag, you need to stay on top of the upgrades for your clients.

Will you be doing this for your client’s site?? Do you have a better solution?

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. Robert says:

    @Keith Davis.
    Some Theme developers create a new version of a Theme and then warn all their users to upgrade to the latest version because they will no longer support the old version. Unfortunately, upgrading to the new version can drastically change your layout and require you make a choice.
    1. Pay an artist again to redo your website while it is down for a month
    2. Stick with the old version and never upgrade WordPress which will also eventually break it because your theme is not supported / updated any more.

    Hitting that upgrade WordPress button by mistake can be a nightmare because it changes the DB fields also which kills your backup when it comes back and says we can’t restore your files because they don’t match the database fields. Arghh!

    Been there done that. Need to hide that upgrade nag permanently!

  2. Faysal Shahi says:

    Simple but Awesome, Thanks

  3. Marius says:

    thank you very much mate! I’m so relaxed now. :-) pheuh !

  4. jb says:

    This hides the upgrade license message/ button. this is found in the common.php line 3587. Remove rg_gforms_message

    public static function get_remote_message(){

    return stripslashes(get_option(“rg_gforms_message”));


  5. Sergiro says:

    love ya!

  6. Luca Di Lenardo says:

    Work good! (wp 3.5.2) Thank you!

  7. gregdavispsu says:

    I tried this on a client site and it worked great except for the WP Status Dashboard shows an error after the code is activated. The nag message is removed as described above, but it seems WP Status Dashboard isn’t happy now.

    I put the code into a site-specific plugin rather than the theme’s functions.php file. Would that make a difference?

  8. wpbeginner says:
  9. Renji says:

    How can I hide the plugin update count seen in the dashboard menu?

  10. Melinda says:

    I will definitely be using this for my clients, I offer full service maintenance and don’t want my clients to be confused by the nag. Of course, if I had a client that was pretty web savvy and wanted to do their own maintenance, I wouldn’t remove the nag.

  11. Blogmum says:

    I only got two clients so far and told them to just ignore any update messages. They leave most things to me anyway. But it is good if there is a possibility to hide it before clients start messing about with things not having a clue what they are doing. Mind you, most of the time I haven’t got a clue of what I’m doing either. :-)

  12. Keith Davis says:

    I was wondering why you would want to hide the message but hiding it for clients makes sense.

    Might come in useful in the future.
    Appreciate the info.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.