Disable plugin update for a specific plugin in WordPress

Here you 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:

[code lang=”js”]/* 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’ );[/code]

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

Leave a Reply

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