Devin Walker is a San Diego based entrepreneur, developer and designer.

How to Hide WooCommerce’s Annoying Admin Notices

Posted on Jun 21, 2013 in WordPress | 3 Comments

WooCommerce is a great eCommerce plugin for WordPress. It works like a charm, but sometimes will throw messages in your admin panel that are an eye sore. Unfortunately, there’s no close button for these messages so they remain seen until you add a bit of code.

woocommerce-admin-message

How to Remove the Admin Notice

The following bit of code will remove the “Install the WooThemes Updater plugin…” alert on the WordPress admin Dashboard:

Add the code above you your theme’s custom functionality plugin or functions.php file to effectively remove the message. This method is much better than using CSS to hide the message as it unhooks the message from ever being displayed.

I hope this helps! Please comment below if you have any issues or feedback.

3 Comments

  1. mat429
    February 27, 2014

    Hi, thanks for this code. At present my subscribers can see and act upon these messages. is there any way of hiding these updates from all user roles except admin using this code?
    Thanks
    Mat

    • Alessandro Marengo
      November 7, 2014

      I’m searching for an answer to this issue too… Any news?

  2. Pamith Clorida
    January 3, 2018

    Not working dude