W3 Mind Logo
Home » How to Hide Plugin Updates in WordPress?

How to Hide Plugin Updates in WordPress?

How To Hide Plugin Updates In WordPress

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' );
				
			
About Author
W3Mind

W3Mind

W3Mind focuses on Blogging, Make Money Online, SEO, Business Blogging, Social Media, WordPress, Internet Tools, Web Design and Development.
Give it a Share
Facebook
Twitter
LinkedIn
You May Also Like
Leave a Reply

Your email address will not be published. Required fields are marked *

How to
START A
BLOG
(step by step)
Load WordPress Sites in as fast as 37ms!