WordPress disable specific plugin from being updated

Want to stop a certain plugin from being updated by a client, maybe the last release of the plugin before a major update change. Add this section of code to the top of that plugins file, within your wordpress directory:

add_filter('site_transient_update_plugins', 'jc_remove_plugin_update');
 
function jc_remove_plugin_update($value) {
	unset($value->response[ plugin_basename(__FILE__) ]);
	return $value;
}


Liked this article? help spread the word.