Disable update plugin option wordpress

Disable update plugin option wordpress :

Even though it is not a good idea to make dirty to the plugins or purchased theme files.But due to specific requirement we are forced to do this job.When we do modification in the existing plugin or purchased theme ,It will be mess when we update the modified theme or Plugin.SO we need to disabled the update of these theme or plugin.

For this you can individually disable update option in a plugin.Just insert the following code in the function.php your active theme.

In the above given code we are disabling the facebook-comments-plugin as we have modified this plugin we donot want the update of this plugin.

Or you can simply add the following code in your root plugin file which you don’t want to show update option.

Now you will not see the update option in the respective plugin.