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:
- 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.
Add Comment