Disable update notification for specific / individual WordPress plugins

You should always keep your plugins and WordPress versions up-to-date to avoid any security vulnerability. However there maybe times when you need stop a plugin from updating, for example when you have modified it. The following code snippet will stop any update notifications for a specific plugin.

/* Put this code in current theme’s functions.php */
/* Replace plugin-directory/plugin-file.php with plugin’s directory and file name */
function filter_plugin_updates( $value ) {
unset( $value->response['plugin-directory/plugin-file.php'] );
return $value;
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );

view raw
hosted with ❤ by GitHub

You have to put the above code at the end of your wp-config.php file.

* Don’t forget to change line 5 with the appropriate plugin name / path (eg. akismet/akismet.php for akistmet plugin).