%1$s, but your actual site URL is %2$s. To fix this, please reconnect your site to WooCommerce.com to ensure everything works correctly.', 'woocommerce' ), $url, $home_url ); } /** * Check if the site has and linked host-plan orders. * * @return bool */ public static function has_host_plan_orders(): bool { $subscriptions = WC_Helper::get_subscriptions(); foreach ( $subscriptions as $subscription ) { if ( isset( $subscription['included_in_host_plan'] ) && true === (bool) $subscription['included_in_host_plan'] ) { return true; } } return false; } }