From 3453a563e4699c63a767c240f71fbd26c8121ef3 Mon Sep 17 00:00:00 2001 From: Oskar Modig Date: Mon, 16 Jan 2023 16:13:15 +0100 Subject: [PATCH] update WP GraphQL WC class --- woographql-subscriptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woographql-subscriptions.php b/woographql-subscriptions.php index feef5b6..2b1e3e4 100644 --- a/woographql-subscriptions.php +++ b/woographql-subscriptions.php @@ -65,7 +65,7 @@ function woographql_subscriptions_dependencies_not_ready() { $deps[] = 'WooCommerce Subscriptions'; } - if ( ! class_exists( '\WP_GraphQL_WooCommerce' ) ) { + if ( ! class_exists( '\WPGraphQL\WooCommerce\WP_GraphQL_WooCommerce' ) ) { $deps[] = 'WooGraphQL'; }