What Are Admin Notices?

Admin notices are all these plugin recommendations (to rate, buy premium variants or simply unuseful notices)

admin notices

Remove Admin Via a Plugin

Here we have a recommended list of free plugins to help you hide those annoying notices from your WordPress admin dashboard:

Disable Admin Notices individually

Another free alternative with just a few ratings but it will do the trick as well as the first one.

Hide Admin Notices


Remove Admin Via Code

All these admin notices can also be disabled by adding code in your child theme’s functions.php:

add_action('admin_enqueue_scripts', 'modeltheme_admin_theme_style');
add_action('login_enqueue_scripts', 'modeltheme_admin_theme_style');
function modeltheme_admin_theme_style() {
if (!current_user_can( 'manage_options' )) {
echo '<style>.update-nag, .updated, .error, .is-dismissible { display: none; }</style>';

Was this post helpful?

Tags: ,