From 42ee3559198b3bddf296f0973b57fb9ea27b588d Mon Sep 17 00:00:00 2001 From: Narek Zakarian Date: Fri, 27 Oct 2023 11:28:04 +0400 Subject: [PATCH] Service to check if Wc Shipping & Tax is active --- modules/ppcp-compat/services.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ppcp-compat/services.php b/modules/ppcp-compat/services.php index 767c8b14d..378eb9b45 100644 --- a/modules/ppcp-compat/services.php +++ b/modules/ppcp-compat/services.php @@ -68,6 +68,9 @@ return array( 'compat.shipstation.is_supported_plugin_version_active' => function (): bool { return function_exists( 'woocommerce_shipstation_init' ); }, + 'compat.wc_shipping_tax.is_supported_plugin_version_active' => function (): bool { + return class_exists( 'WC_Connect_Loader' ); + }, 'compat.module.url' => static function ( ContainerInterface $container ): string { /**