Connect your store to WooCommerce.com to receive extensions updates and support.

How to Get Rid of “Connect your store to WooCommerce.com to receive extensions updates and support.”

Last updated on

Method 1: Use a Function

A quick fix to get rid of this nag is by using a custom function.

Add the following to your functions.php.

add_filter( 'woocommerce_helper_suppress_admin_notices', '__return_true' );

Just be aware that this may quash other admin messages originating from WooCommerce. 

Method 2: Use a Plugin

I’ve made a simple plugin which will remove this particular nag, but will not affect any other admin messages originating from WooCommerce. This way you can easily disable and delete the plugin if WooCommerce ever rolls out an update to allow us to dismiss the nag.

Simply upload the plugin to WordPress and activate it.

You can also review the plugin code below if you wish to make your own one.

<?php
/**
 * Plugin Name: Remove WooCommerce Nag
 * Plugin URI: https://devanswers.co/remove-woocommerce-nag/
 * Description: Gets rid of nag: "Connect your store to WooCommerce.com to receive extensions updates and support."
 * Version: 1
 * Author: DevAnswers
 * Author URI: https://devanswers.co/
 */
if ( !class_exists( 'RemoveWooCommerceNag') ) :
    class RemoveWooCommerceNag {
        public function __construct() {
            add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
        }
        public function plugins_loaded() {
            if ( is_admin() ) {
                add_filter( 'woocommerce_helper_suppress_admin_notices', '__return_true' );
            }
        }
    }
    $GLOBALS['RemoveWooCommerceNag'] = new RemoveWooCommerceNag();
endif;

Let me know in the comments if this helped. Follow me on Twitter, Facebook and YouTube.

p.s. I increased my AdSense revenue by 68% using AI 🤖. Read my Ezoic review to find out how.

1 Star2 Stars3 Stars4 Stars5 Stars 5.00 (1 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

We use Markdown to style comments, like on Github and Reddit.
To do a line break, type two spaces after the sentence.
You can add inline code by wrapping it in backticks: `code here`

    To do an entire block of code  
    type four spaces before the line
    and it will appear in a block like this.
    <-- four empty spaces

2 replies