WordPress Quick Tip: Disable Plugin Update Notification

  • follow us in feedly
Published January 26, 2014 by Brad Knutson
WordPress Quick Tip: Disable Plugin Update Notification

How often do you log in to the admin area of your WordPress site and see a notification that one of your plugins has a newer version ready to update to? If you have more than a few installed, you’re probably familiar with these messages. If you ignore these updates, the notifications can pile up.

WordPress Plugin Update Notification

I’m definitely an advocate of updating plugins when a newer version comes out. Plugin developers are constantly fixing bugs, closing security gaps, increasing efficiency, and updating other aspects of the plugin that will benefit your site.

There is a situation, however, where you would want to hide a plugin update notification. What if you made modifications to a plugin that you don’t want to be overwritten? The update notification is a minor annoyance, so what can we do about hiding it?

Here are two simple ways to hide the plugin update notification.

Option 1 – Modify Plugin Version

The easiest solution is to open up the PHP file in the plugin root directory and modify the version number. At the top of the file, there will be some commented out variables that WordPress pulls in.

WordPress - Update Plugin Version

By updating the plugin version here to a higher number, you can suppress the update notification.

One quick note about this solution – it’s not a complete solution. You can update the plugin version from 1.1 to 1.2 but as soon as 1.3 comes out you’ll get the notification again. You could put a version number so high that the plugin will never get there, for example 100.1.

Option 2 (Preferred) – Prevent Update Notification

The method I prefer is to use the function I’ve written out below to suppress the update notification. WordPress makes it’s rounds and searches for plugins to be updated, and we can get rid of the notification by removing the plugin from the array.

Enter this function in the plugins root PHP file, preferably right below the plugin details.

This function must be unique, which means you can’t use it for multiple plugins. If you want to hide notifications for multiple plugins, change the name of the function each time (and update the function name in the add_filter line as well).

Final Note

While suppressing the plugin update notifications is a nice touch, choosing to ignore plugin updates could result in security issues for your site. Old and outdated plugins are often the cause of sites being hacked, so it’s strongly advised that you update plugins with newer versions when they become available.

The following two tabs change content below.
Founder at Inbounderish
Brad Knutson is a Web Developer in the Twin Cities area of Minnesota. He has experience working with WordPress and Drupal, and also has an interest in SEO and Inbound Marketing.

Keep Up-to-Date

Subscribe

Topics

See a complete list of topics discussed in blog posts here.

Check These Out

Get 2 Weeks Free! Sign Up Today! Premium Managed WordPress Hosting Genesis Framework for WordPress SEO is complex. Tools should be simple. Thesis Theme for WordPress:  Options Galore and a Helpful Support Community

6 thoughts on “WordPress Quick Tip: Disable Plugin Update Notification

  1. Verniers

    Thanks for the simple method. Is there any plugin to do this without editing the codes from web hosting? it will be great if it is there since I am not comfortable to edit the codes.

    Thanks in advance.

    Reply
  2. Ara

    Thank you for your solution Brad. Can you help me for another one?
    We have managing our WP sites by managewp.com. And we need that the plugin update notification doesn’t show on site admin ponel but shows on managewp.com
    When I added your code it desabled notification on both admin parts(site admin and managewp.com).

    Reply
    1. Brad Knutson Post author

      Hello Ara – that’s a tough one, I’m not sure how to avoid suppressing the notification in ManageWP. I would try contacting ManageWP support to see if they have a different solution. This solution isn’t ideal for your situation unfortunately!

  3. Eric Kazda

    Just a note… if you place this in multiple plugins within your site, be sure to give the function a unique name EACH time you use it. Otherwise, you will run into conflicts that will produce the dreaded white screen.

    Reply

Share Your Thoughts

Your email address will not be shown.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">