7 Ways to Disable Update Notifications and Maintenance Nags 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.

Selection_040

 

Such nags are displayed to the admin & all website users who log-in to user dashboard.

In this article you will find some simple tricks available to disable the update notifications & other nags in WordPress.

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

1. To Disable Update WordPress nag :

Insert the following code to the functions.php file of your active theme. It will remove the WordPress update nag e.g. WordPress 3.9.1 is available! Please update now, from the all users dashboard, admin dashboard & from Updates page as well.

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.

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.

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 :

4. Disable All WordPress Updates :

This plugin will disable all the update notifications of all the plugins & themes installed on your WordPress. It will also disable the WordPress update nag e.g. WordPress 3.9.1 is available! Please update now, from the all users & admin dashboard including cronjobs, and prevents any notifications from being displayed. It will remove all the update notifications from the Plugins page, dashboard & Updates page.

5. Disable WordPress Core Updates :

This plugin prevents WordPress from checking for core updates, and prevents any notifications from being displayed in the admin area. i.e. with the help of this plugin your dashboard will get rid of WordPress Update nags. It will remove all the update notifications from the Updates page as well.

6. Disable WordPress Plugin Updates :

The plugin prevents WordPress from checking for plugin updates, and prevents any notifications from being displayed on the Plugins page, dashboard & Updates page.

7. Disable WordPress Theme Updates :

The plugin prevents WordPress from checking for plugin updates, and prevents any notifications from being displayed on the Theme page, dashboard & Updates page.

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.

One thought on “7 Ways to Disable Update Notifications and Maintenance Nags in WordPress

  1. Tried this one ” To Disable all the Nags & Notifications :”
    on wp 4.7.3
    Not working anymore?

Leave a Reply

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