Skip to content

Commit

Permalink
Update PremiumConditional
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Oct 8, 2024
1 parent c748c6f commit 7a63d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Conditionals/PremiumConditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}
}

0 comments on commit 7a63d68

Please sign in to comment.