As you all know that WordPress is built on plugins and themes.
From security point of view, it is very important that plugins are updated regularly so that you get the latest updates and your site does not get malware attack due to any old plugin.
There are a few methods by which you can hide updates of a plugin, but doing so can be very damaging to your site.
W3Mind suggests you not to hide updates of any plugin.
Why do we need to hide plugin updates?
Sometimes we have to hide the plugin updates even if we do not want to, because sometimes we do customization in plugin’s core files and want that the plugin should not be updated automatically or no one can update it manually otherwise we may lose all our customizations. In such a situation, you can disable the update of the plugin by using the method given below.
For example if you want to hide update notification for akismet plugin, you need to add the following function in your theme functions.php file.
function filter_plugin_updates( $value ) {
unset( $value->response['akismet/akismet.php'] );
return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );