How to Disable Update Notifications in WordPress

For all the WordPress users, it is really annoying when WordPress update notice is displayed on the dashboard if there are any upgrade available for the installed WordPress version as shown in the figure below. The notice will not clear until the WordPress is upgraded to latest version. Similarly the update notice for installed plugins & themes is displayed on the WordPress dashboard, plugins & themes pages. Actually it is good to know that updates are available but administrators who maintain multiple installations of WordPress on behalf of other people (eg. clients) may not want theme update notifications to be shown to the users of these installations, then disabling such notifications becomes necessary. In this article, I will show how to disable update notifications for core WordPress as well as for plugins and themes.

This scenario is also very important in case of WordPress Multisite (Network) installation where Super Admin can disable the notifications for individual site’s administrators as well.

 

Disable Update WordPress nags with Plugin’s and Theme’s Update Notifications :

1. To Disable Update WordPress nag :

1
2
3
4
5
6
7
8
add_action('after_setup_theme','remove_core_updates');
function remove_core_updates()
{
if(! current_user_can('update_core')){return;}
add_action('init', create_function('$a',"remove_action( 'init', 'wp_version_check' );"),2);
add_filter('pre_option_update_core','__return_null');
add_filter('pre_site_transient_update_core','__return_null');
}

2. To Disable Plugin Update Notifications :

Insert the following code to the functions.php file of your active theme. It will remove the update notifications of all the installed plugins.

1
2
remove_action('load-update-core.php','wp_update_plugins');
add_filter('pre_site_transient_update_plugins','__return_null');

3. To Disable all the Nags & Notifications :

Insert the following code the functions.php file of your active theme. This code disables all the updates notifications regarding plugins, themes & WordPress completely.

1
2
3
4
5
6
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');

Apart form these codes there are some WordPress plugins available to Disable WordPress Update Notifications & Nags :

If you install & activate these plugins, you will have to keep yourself updated with the latest version of your active WordPress, plugins & themes so that your blog or website wont be susceptible to security vulnerabilities or performance issues. Just deactivate the plugin for short period of time & update yourself.

WordPress plugins to Disable Update WordPress nags with Plugin’s and Theme’s Update Notifications :

I hope with the help of this article you will surely be able to Disable Update WordPress nags with Plugin’s and Theme’s Update Notifications appearing on your WordPress dashboard. If you have any query or suggestion regarding the same, do share with us.

Leave a Reply