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'; }