diff --git a/includes/admin/helper/class-wc-helper.php b/includes/admin/helper/class-wc-helper.php index e7d092b86cd..87a95e73201 100644 --- a/includes/admin/helper/class-wc-helper.php +++ b/includes/admin/helper/class-wc-helper.php @@ -1237,6 +1237,27 @@ class WC_Helper { * Prompt a Helper connection if the user has WooCommerce.com extensions. */ private static function _prompt_helper_connect( $screen_id ) { + $screens = array( + 'plugins', + 'product', + 'edit-product', + 'edit-product_cat', + 'edit-product_tag', + 'product_page_product_attributes', + 'shop_order', + 'edit-shop_order', + 'shop_coupon', + 'edit-shop_coupon', + 'woocommerce_page_wc-reports', + 'woocommerce_page_wc-settings', + 'woocommerce_page_wc-status', + 'woocommerce_page_wc-addons', + ); + + if ( ! in_array( $screen_id, $screens ) ) { + return; + } + // Don't show the notice on the Helper screens. if ( 'woocommerce_page_wc-addons' == $screen_id && ! empty( $_REQUEST['section'] ) && 'helper' == $_REQUEST['section'] ) { return;