PHP 8.2.31
Preview: License.php Size: 524 B
/home/nshryvcy/himaltourism.com/wp-content/plugins/mailpoet/lib/Util/License/License.php

<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing

namespace MailPoet\Util\License;

if (!defined('ABSPATH')) exit;


class License {
  const FREE_PREMIUM_SUBSCRIBERS_LIMIT = 1000;

  public static function getLicense($license = false) {
    if (!$license) {
      $license = defined('MAILPOET_PREMIUM_LICENSE') ?
      MAILPOET_PREMIUM_LICENSE :
      false;
    }
    return $license;
  }

  public function hasLicense(): bool {
    return (bool)self::getLicense();
  }
}

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
Features DIR
- drwxr-xr-x 2023-04-04 05:35:40
Edit Download
0 B lrw-r--r-- 2023-04-04 05:35:40
Edit Download
524 B lrw-r--r-- 2023-04-04 05:35:40
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).