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

Need to hide 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.

Hide 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 hide_core_updates() {
     global $wp_version;
     return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version );
}
add_filter( 'pre_site_transient_update_core', 'hide_core_updates' );
add_filter( 'pre_site_transient_update_plugins', 'hide_core_updates' );
add_filter( 'pre_site_transient_update_themes', 'hide_core_updates' );

Hide 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.