Website Building » WooCommerce » How Do I Turn Off WooCommerce Notices?

How Do I Turn Off WooCommerce Notices?

Last updated on October 1, 2022 @ 5:42 am

WooCommerce is a great eCommerce platform for WordPress, but one downside is the constant notifications it displays in the WordPress admin area. If you’re running a WooCommerce store, chances are you’ve seen these notifications before and maybe even wondered how to turn them off.

The good news is that it’s actually quite easy to disable WooCommerce notices. All you need to do is add a little bit of code to your theme’s functions.php file.

Here’s the code you need to add:

add_filter( 'woocommerce_enable_admin_notices', '__return_false' );

Once you’ve added that code, save your functions.php file and upload it to your server. That’s it! WooCommerce notices will now be disabled.

Conclusion:

It’s easy to disable WooCommerce notices by adding a little bit of code to your theme’s functions. Simply add the following code:

add_filter( 'woocommerce_enable_admin_notices', '__return_false' );
Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.