How to hide all WordPress update notifications in dashboard

When working on a project, it can be frustrating to have to deal with all the update notifications that are in the WordPress dashboard by default. It’s true, updates are important, but there are some cases where you might want to consider disabling update notifications for plugins, themes, or WordPress itself to avoid losing the changes you have made.

If you have made modifications to the core files of a theme, plugin or WordPress, for example, you may want to prevent your users from making updates, as you would lose the changes. That’s why the goal of hiding the notifications is for you to make these updates manually, making any necessary changes to the files yourself. In this article, we’ll show you how to hide all the updates notifications so you can work comfortably and only check them when you need to.

First of, you need to keep in mind that there are 2 main ways to hide all the notifications:

The most used option by those who are just entering the programming world is the implementation of a plugin that will take care of hiding the notifications for you. This way of disabling update notifications is the quickest and possibly also the easiest since normally plugins do not require much knowledge of programming or web development.

One of the most used plugins in this respect is ‘Disable admin notices individually‘. This plugin not only allows us to disable all the update notifications but also we can hide other annoying notifications from our dashboard, such as those that refer to licenses.

The other recommended way we can use to hide WordPress dashboard notifications is by entering code.

This may seem complex, but if we know what code to put in it isn’t that hard.

To do this, you must enter the code directly at the end of the functions.php file of the theme or child-theme you use for your site.

The code you enter will vary depending on what type of notification you want to hide.

If you want to disable all Plugin Notifications you can use the following code:

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

Regarding themes, in order not to lose your modifications, you can use the following code to disable the update notifications:

remove_action('load-update-core.php', 'wp_update_themes');
add_filter('pre_site_transient_update_themes', create_function('$a', "return null;"));

Lastly, if you’re looking to disable WordPress core update notifications you can use the following code:

add_action('after_setup_theme', 'remove_core_updates');

function remove_core_updates() {

if (!current_user_can('update_core')) {



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');


Finally, if you decide that avoiding the notifications completely is not the solution, you can use a plugin to standardize the way they are displayed, or better yet, take them to a more comfortable position in the dashboard where you can simply consult them when you need to, showing them in context and divided into sections.

By using any of these methods you will get a site with virtually no notifications. While these types of changes are useful to avoid modifications, it is always advisable to make the updates manually, making the changes again in the files overwritten by the update. This can avoid many problems in the future.

We hope this article has been useful for you and that you have been able to learn how to How to hide all WordPress update notifications in the dashboard.

UNLIMITED DOWNLOADS: 50+ Million Website Templates & Design Assets

All the Website Templates you need and many other design elements, are available for a monthly subscription by subscribing to Envato Elements. The subscription costs $16.50 per month and gives you unlimited access to a massive and growing library of over 50 million items that can be downloaded as often as you need (stock photos too)!

Recent Articles

How to Change WordPress Theme If It Does Not Work (No Access to wp-admin) Through phpMyAdmin

Something is wrong. Your WordPress theme has got a blank screen and you can not log in to your admin through /wp-admin/...

How to Bulk Deactivate WordPress Plugins (No Access to WP-Admin) Through phpMyAdmin

Sometimes happens that you don't have any backups of your WordPress site (ups) and after your plugins update nothing works (ups, twice!),...

Landco – Garden & Landscaping WordPress Theme [Free WordPress theme download]

Demo Download Landco – Garden & Landscaping WordPress Theme Landco – Garden & Landscaping...

Optrica – Optometrist & Eye Care WordPress Theme [Free WordPress theme download]

Demo Download Optrica – A Premium WordPress Theme for all kind of optometrist...

Qwery – Multi-Purpose Business WordPress Theme + RTL [Free WordPress theme download]

Demo Download Giant Multi-Purpose Business Elementor WordPress Theme v1.0.4 Qwery is an innovative responsive...

Get in touch

Be our first-class reader, build a community and follow us on social media!

1 Comment

  1. Nice!

    Just keep in mind that create_function() is deprecated as of PHP 7.2, so you better update that core update piece by switching to anonymous function.

Leave A Reply

Please enter your comment!
Please enter your name here