Easy Way To Disable Admin Notifications In WordPress

Disable WordPress Admin Notice

Do you have multiple plugins installed? Are you getting too many notifications in your WordPress dashboard? By default, WordPress displays certain messages on your dashboard homepage. These messages may alert you to update certain plugins or activate certain plugins.

How to Remove WordPress Admin Notices with Code?

Admin Notice is an important part of your WordPress control panel because they have significant warnings, errors and information. Different types of messages appear when some things happen to your site. These notices are essential to manage your website because they can alert you the changes, errors or related parameters.

Although it seems like a useful property, sometimes they can become invaded and boring. For some people, they can interfere when you try to use your control panel, become confusing. In this tutorial, I will explain different types of tips on governance and how to disable admin notifications totally.

Types of Admin Notifications

There are four types of admin notices that can appear on your control panel in WordPress. All four types are color code, so you will know what happened colors. There are also a variety of different documents in the message. Here are different types:

Admin Notifications

  • Red – Display errors occur.
  • Yellow – Displays a warning for something.
  • Green – Displays all successful actions.
  • Blue – Displays important information for you.

Note that these are the main types of administration advice shown. These four main categories come from WordPress, not third-party plugins. Plugins may display different messages, depending on the plugins you have installed. However, there is also a way to disable plugin notifications.

Disable admin notifications

How to Remove WordPress Admin Notifications using Plugin?

In the next section, I will show you how to disable admin notifications using a plugin.

WordPress is a flexible CMS. You can add or remove functionality by installing or removing plugins. There are thousands and thousands of plugins that can add different functionalities to your website. The Hide Dashboard Notifications plugin can handle distracting notifications in the WordPress dashboard.

We all get tired of notices showing up on the WordPress dashboard homepage, with the help of this plugin you can disable notices permanently and individually! This works for plugin notices and WordPress itself.

All you have to do is download the plugin from the official WordPress site or directly from the WordPress dashboard. Install it, activate it. Then go to the plugin settings, and configure the plugin to completely disable all site-wide notifications and you’re good to go!

How to Remove WordPress Admin Notices with Code

Step 1:

If you have some programming knowledge, using your code snippet plugin, you can also add the piece of code below to your site to disable admin notifications.

add_action('admin_head', 'remove_admin_nags');

function remove_admin_nags() {
    echo '<style>
        .update-nag, .updated, .error, .is-dismissible, { display: none !important; }

Step 2:

Hate Plugins or Don’t want to install additional plugins on WordPress, we recommend you to follow this method.

As always, we recommend that you perform a full backup of WordPress and then follow the steps below.

Just use this piece of code. You can add it anywhere in your WordPress functions.php file or wpconfig.php file. You can access both directly through the hosting control panel (cPanel) or with an FTP client.

Download either one to your computer and open it with a text editor like Notepad++ and add the following code to it:

add_action('admin_head', 'remove_admin_nags');

function remove_admin_nags() {
    echo '<style>
        .update-nag, .updated, .error, .is-dismissible { display: none !important; }

This code will easily remove or disable admin notifications from your WordPress dashboard.


In this article, we talked about how you can disable admin notifications from your WordPress dashboard. In general, there are two methods you can follow to get rid of reviews. You can install a plugin or use a simple code to disable them permanently.

If you are going to use code, we strongly recommend that you take a full backup of WordPress before making any changes to the core files. If something goes wrong, you can always restore WordPress to its original state.

Need help with your website? Contact Blessed Web Services for an assistance help with your website design projects.


Related Posts

1 comment

Mark September 6, 2022 - 8:20 am

Thanks for your blog, nice to read. Do not stop.


Leave a Comment

Sign up for Weekly Updates on our Most Read Blog Posts.