How to Hide WooCommerce’s Annoying Admin Notices

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.

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:

//Remove WooCommerce's annoying update message
remove_action( 'admin_notices', 'woothemes_updater_notice' );

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.


Discover more from Devin.org

Subscribe to get the latest posts sent to your email.

3 Comments

  1. 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

Comments are closed.