Age of Article Warning:
This article was originally published 47 months ago. The tips and techniques explained may be outdated, or information may longer be applicable. Please consider this when viewing the below content.

A quick and simple way to hide WPMU dashboard plugin alerts or other annoying “nag” updates in the WordPress admin dashboard can be achieved with a simple piece of css display:none code in your childtheme’s functions.php file.

This is probably not the “ideal” way to remove these “nags” however sometimes other options can be less effective. For example in the case of the WPMU dashboard plugin alert, it’s automatically triggered when you install WPMU plugins. The recommended method to remove this alert- is to install the free dashboard plugin or to make changes to lines in the plugin file that is triggering this.

Of course we all know that when we make changes to theme files or plugin files, that when the next update comes along- those changes are overwritten, so then we have to go through the painstaking process of trying to remember what “mini” changes we made along the way.

This is why we use “childthemes”! Just in case you are new to WordPress and don’t know what a childtheme is –> we create a childtheme that allows us to customise a WordPress parent theme to suit our needs or the needs of our client. When the parent theme is updated, then our customisations aren’t lost.

This isn’t an option for WordPress plugins, so minor tweaks can sometimes be made by adding code into the childtheme’s functions.php file- which is safe from updates to the parent theme.

Remember to always have a backup of your WordPress files before making any changes.

So here’s your code snippet to remove the following alert:

“Easily get updates, support, and one-click WPMU DEV plugin/theme installations right from in your dashboard – install the free WPMU DEV Dashboard plugin. (find out more)”

[php]
//add a custom css change to hide something in the dashboard
function change_css_hide_wpmu_dash()
{
echo ‘<style type="text/css"> .wp-admin div.error {display: none !important;}</style>’;
}
add_action(‘all_admin_notices’, ‘change_css_hide_wpmu_dash’);
[/php]

BEFORE:
Hide WPMU dashboard plugin alert

AFTER:
remove the alert - WPMU dashboard plugin

Hide WPMU dashboard plugin alert and other nag updates was last modified: February 12th, 2013 by David Tiong
Hide WPMU dashboard plugin alert and other nag updates