Although there can be many ways to Disable plugin update for a specific plugin only but I am giving away two of them. Try these simple snippets to say bye to plugin update. This solution is for those of us who want to make direct customization inside the plugin.
Way 1 : Add this code in your plugin root file:
1 2 3 4 5 | add_filter('site_transient_update_plugins', 'remove_update_notification'); function remove_update_notification($value) { unset($value->response[ plugin_basename(__FILE__) ]); return $value; } |
Way 2: Adding code to theme’s functions.php
1 2 3 4 5 6 7 | function my_filter_plugin_updates( $value ) { if( isset( $value->response['wp-faker/wp-faker.php'] ) ) { unset( $value->response['wp-faker/wp-faker.php'] ); } return $value; } add_filter( 'site_transient_update_plugins', 'my_filter_plugin_updates' ); |
Note : wp-faker is the name of  folder and wp-faker.php is the root file name of plugin.