WordPress / Web Development Tutorials
(Best WordPress Tutorials)

Silva Web Designs - Blog

WordPress – How to disable update notification for individual plugins

Most of the WordPress plugins get updated on regular intervals so whenever you log in to your WordPress admin panel, you will get the notification for updates of plugins, themes or core files. Generally, developers do the changes in the WordPress plugin if the hook or filter doesn’t work so disabling updates for a specific plugin in WordPress is helpful to them.

Sometimes you want to do some changes in plugin functionality or style so you have to modify plugin core files so once you update the plugin, your changes will be lost. At that time, it is necessary for you to disable updates for the specific plugin in WordPress so if any other developers are working on your site can’t update the code otherwise, your code will be lost.

Hence, You can disable specific plugin update notifications. So, here is how you can disable update notifications for a specific plugin in WordPress.

You need to add a few lines of code into your functions.php file or wp-config.php file to disable updates for a specific plugin in WordPress:-

/* Function which remove Plugin Update Notices – Askimet*/
function disable_plugin_updates( $value ) {
   unset( $value->response['akismet/akismet.php'] );
   return $value;
add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' );

Disable updates for a specific plugin for WordPress is kind of blocking the Plugin Update. Above code snippet called the filter site_transient_update_plugins in which unset the plugin from update list and this is selectively to disable updates for a plugin in WordPress.

Here, in the above example replace the value in response to your desired plugin’s directory file path and the main PHP file name. You can unset as many plugins you want when you want to stop a plugin from updating. If the code was not working for you, write in the comment section and I would be more than happy to find a solution for you.


Nathan da Silva - Profile

Posted by: Nathan da Silva

Nathan is the Founder of Silva Web Designs. He is passionate about web development, website design and basically anything digital-related. His main expertise is with WordPress and various other CMS frameworks. If you need responsive design, SEO, speed optimisation or anything else in the world of digital, you can contact Silva Web Designs here; [email protected]

It’s good to share

2 thoughts on “WordPress – How to disable update notification for individual plugins

Join the discussion