Snippet: Disable Updates: Both WordPress and Plugins

Add following snippet to “functions.php”
Note: Disabling updates can cause security issues If there was any security hole that might be fixed in the update. If you disable the updates, you would not get it fixed.

Snippet

add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );
remove_action( 'load-update-core.php', 'wp_update_plugins' );

Result

All plugin update notification get removed.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>