• I would like to remove the admin notifications (without a plugin) on my wordpress dashboard. I can go into each plugin and remove the ability for the popup but that’s tedious to do with every plugin. I want to be able to just have the notification hidden/removed in my functions.php. I don’t know where to start.

    I can remove the update nag, but that’s not what I’m looking for. I’m wanting to remove the notices – see photos.

    View post on imgur.com

    In the photos above, I am looking at the Space Plugin and want to remove it’s dashboard notifications. What functions.php code can I use to remove it from my dashbaord, and where can I find that information? I’ve been looking all over the internet and trying all sorts of remove functions and nothing is working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Add this PHP code snippet to your functions.php file:

    function hideUpdateNag() {
    	remove_action( 'admin_notices', 'update_nag', 3 );
    }
    add_action('admin_menu','hideUpdateNag');

    You can change that to remove any plugin notifications

    Thread Starter willc93

    (@willc93)

    I’ve done that but nothing changes. What unique code do I need to add?

    If you use a theme, you need to change the functions.php file of that theme. Did you do that?

    Thread Starter willc93

    (@willc93)

    Yes, I was able to remove my theme’s popup notification by removing it from the parent function.php. What I am trying to figure out now is how to remove these in my child theme’s function.php for both my theme notifications and plugin notifications.

    I can remove them with CSS too when I inspect the page, but whenever I edit the Styles.Css nothing changes because I need to find the WordPress Styles.css which I don’t know where it is.

    I would ideally just like to add some code in my child theme function.php.

    The code you gave does removed the WordPress update notification and the following code below removes the Welcome Message… so there has to be a way to remove plugin notifications.

    remove_action(‘welcome_panel’, ‘wp_welcome_panel’);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove Admin Notifications on Dashboard’ is closed to new replies.