Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Oct 8, 2024
1 parent 7a63d68 commit 23b3829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Common/Conditionals/PremiumConditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
namespace TLA_Media\GTM_Kit\Common\Conditionals;

/**
* Conditional that is only met when WooCommerce is active.
* Conditional that is only met when GTM Kit Premium is active.
*/
class PremiumConditional implements Conditional {

/**
* Returns `true` when the WooCommerce plugin is installed and activated.
* Returns `true` when the GTM Kit Premium plugin is installed and activated.
*
* @return bool `true` when the WooCommerce plugin is installed and activated.
* @return bool `true` when the Premium plugin is installed and activated.
*/
public function is_met(): bool {
return \defined( 'GTMKIT_WOO_FILE' ) || \defined( 'GTMKIT_PREMIUM_FILE' );
Expand Down

0 comments on commit 23b3829

Please sign in to comment.