Wordpress How-To

Disable Specific Plugin Updates in WordPress

Plugin Updates in Wordpress
Plugin Updates in Wordpress

How to Disable Specific Plugin Updates

Plugin updates can be disabled in WordPress, but there is no good reason to do that. In this article, we will show you how to disable a specific / individual plugin updates in WordPress. We will also discuss why you shouldn’t do that and what could be the consequences of doing so. Let’s get started.

Many WordPress users think that updating the plugins can break or slow down their site. If you are using the best WordPress plugins with a standard compliant WordPress theme, then chances of an upgrade breaking on your site are very low.

Plugin updates are not only offer new features, they also offer patch security vulnerabilities, improve their performance, and fix compatibility issues with the latest or upcoming versions of WordPress.

Here are the simple steps to stop an individual plugin update:

  1. Goto active theme directory  and paste the following codes in functions.php file.

function disable_plugin_updates( $value ) {
if ( isset($value) && is_object($value) ) {
if ( isset( $value->response[‘plugin-folder/plugin.php’] ) ) {
unset( $value->response[‘plugin-folder/plugin.php’] );
}
}
return $value;
}
add_filter( ‘site_transient_update_plugins’, ‘disable_plugin_updates’ );

2. Enter the plugin folder name and plugin-name.php file (folder-name/plugin-name.php)

Save your functions.php file and run the site. Now you are successfully disabled an individual plugin for the further updates.

About the author

Chetan Hegde

Chetan Hegde

Chetan Hegde is the architect of ProCodersOnline.com. I'm a Software Engineer and technology enthusiast person who loves to learn and explore new things and technologies. When i'm not writing content for my websites, I love to travel and explore the nature.

Add Comment

Click here to post a comment