Disable Update Notification for Individual WordPress Plugins

Well i strongly recommend to update the WordPress plugin whenever a new update is available. This is required for proper functioning of your WordPress website and also prevents hacking of your WordPress website. Plugin developers are constantly fixing bugs, closing security gaps, increasing efficiency, and updating other aspects of the plugin that will benefit your site.

But there might be a situation where you would want to hide a plugin update notification. Suppose if are working for some non technical client or if you have made some modifications to a plugin that you don’t want to be overwritten?

Here are 2 simple tricks to hide the plugin update notification.

Trick 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. You can update the plugin version from 1.1 to 100.1. A version number so high that the plugin will never get there, for example 100.1.

Plugin Name: WordPress PopUp
Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
Description: Please don’t upgrade this plugin. If required then please contact Vaseem Ansari to upgrade it. Allows you to display a fancy PopUp to visitors site wide or per blog. A *very* effective way of advertising a mailing list, special offer or running a plain old ad.
Version: 1.1.2
Author: WPMU DEV
Author URI: http://premium.wpmudev.org
Textdomain: popover
WDP ID: 123

Trick 2 – Prevent Update Notification by Modifying Theme functions.php file
Another solution is to open the functions.php file of your WordPress theme and add the below function there. This function will disable the individual plugin update notifications in WordPress admin. By using this trick you can disable update notifications for specific/individual plugin.

/**
* Hide the notice of plugin update available in admin There is a new version of WordPress PopUp available. View version 1.1.3 details or update now.
* Usage – Automatic
*/
function hide_akismet_plugin_updates( $value ) {
unset( $value->response[‘akismet/akismet.php’] ); // For example if you don’t want WordPress to show update notifications for akismet plugin.
return $value;
}
add_filter( ‘site_transient_update_plugins’, ‘hide_akismet_plugin_updates’ );

function hide_wordpress_popup_plugin_updates( $value ) {
unset( $value->response[‘wordpress-popup/popover.php’] ); // For example if you don’t want WordPress to show update notifications for wordpress-popup plugin.
return $value;
}
add_filter( ‘site_transient_update_plugins’, ‘hide_wordpress_popup_plugin_updates’ );

Some Useful Reference
Disable update notification for individual plugins
Disable All WordPress Updates
7 Ways to Disable Update Notifications and Maintenance Nags in WordPress

By Vaseem Ansari

I’m Vaseem, a Software Engineer by Profession, a Traveler, a Foodie by Heart and the founder of VaseemAnsari.com. I started traveling from college days and it has become a part of me now. So when ever I happen to get a chance I pack my bag and am on the roads. You can follow me on these social networks Facebook, Twitter, Google+ and Linkedin.

1 comment

  1. I prefer to study this kind of material. Nicely written information in this post, the quality of content is fine and the conclusion is lovely. Things are very open and intensely clear explanation of issues

Leave a comment

Your email address will not be published. Required fields are marked *