Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Util
/
License
:
License.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php 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(); } }