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.

Recent Articles

Why is WordPress Asking For Your FTP Credentials to Install Plugins?

You want to install any plugin, but *blink* - WordPress need your FTP credentials. What the hell? The problem is simple -...

Fix PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

This error is getting probably when you trying to upload an import on WordPress on your XAMPP local dev environment, right? Well,...

How to Hide Shipping Methods in WooCommerce?

This is a small detail, but WooCommerce doesn't have built-in any function for hiding shipping methods based on different situations. Imagine when...

How to Get WordPress Post Featured Image URL

Are you a WordPress developer or an advanced WordPress user? Whoever you are, sometimes you may need the direct URL of a...

How to Bulk Delete Media in WordPress

WordPress and media. That's the topic for a book. Sometimes is not easy to find what you need and when you have...

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