From 7a63d68ef80ae799d000756de10bd3777f792782 Mon Sep 17 00:00:00 2001 From: Torben Lundsgaard Date: Tue, 8 Oct 2024 16:45:34 +0200 Subject: [PATCH] Update PremiumConditional --- src/Common/Conditionals/PremiumConditional.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Conditionals/PremiumConditional.php b/src/Common/Conditionals/PremiumConditional.php index 6c7f81a..9a0aa54 100644 --- a/src/Common/Conditionals/PremiumConditional.php +++ b/src/Common/Conditionals/PremiumConditional.php @@ -18,6 +18,6 @@ class PremiumConditional implements Conditional { * @return bool `true` when the WooCommerce plugin is installed and activated. */ public function is_met(): bool { - return \defined( 'GTMKIT_WOO_FILE' ); + return \defined( 'GTMKIT_WOO_FILE' ) || \defined( 'GTMKIT_PREMIUM_FILE' ); } }