How To Remove All Updates (Core, Plugins & Themes) In WordPress

Need to remove all WordPress updates including core, plugin and theme updates? All you may need is to add some functions and filters to your WordPress theme’s functions.php file.

Removing all WordPress updates without any plugin

To hide all WordPress updates including core, plugins and themes; follow the steps below:

  1. Navigate to Appearance > Editor > Theme Functions in your WordPress Dashboard;
  2. Simply copy and paste the below code and press Update File.
function remove_core_updates() {
     global $wp_version;
     return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version );
}
add_filter( 'pre_site_transient_update_core', 'remove_core_updates' );
add_filter( 'pre_site_transient_update_plugins', 'remove_core_updates' );
add_filter( 'pre_site_transient_update_themes', 'remove_core_updates' );

Removing all WordPress updates with a plugin

You can use our plugin to hide all updates on any of your WordPress websites. The plugin is available on the WordPress plugin repository.