Disable plugin update for a specific plugin in WordPress

Sometimes we get bothered from plugin updates. Because some plugin updates have a lot of major changes and updating them unwanted changes happen on your webpage.
In this article, we learn how to disable update for a specific plugin in WordPress.

Here we can see that how to disable update for Akismet plugin. Look at the code:

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

You can replace ‘Akismet’ word with your plugin name.
Enjoy!

Leave a Reply

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