Category: Wordpress Updates

How to Hide Upgrade Notice from WordPress Dashboard

Hide Upgrade Notice from WordPress Dashboard

When a new version of WordPress available, a notification will be displayed in WordPress admin area similar to this.

WordPress x.x.x is available! Please update now.

Hide Upgrade Notice from WordPress Dashboard

Some people like to see this WordPress update notification, but others don’t.

Adding this code snippet to your theme’s functions.php file, upgrade notification will be removed from WordPress admin dashboard.:

function nwt_hide_update_notice() {
    remove_action( 'admin_notices', 'update_nag', 3 );
}
add_action('admin_menu','nwt_hide_update_notice');

How to Disable Automatic Updates in WordPress

To disable automatic updates in your WordPress site, add this code in to the wp-config.php:

define('WP_AUTO_UPDATE_CORE', false);