FS_Plugin_License
Class FS_Plugin_License
Description Description
Source Source
File: includes/pum-sdk/freemius/includes/entities/class-fs-plugin-license.php
Expand full source code Collapse full source code View on Trac
Methods Methods
- __construct
- can_activate — Check if license can be activated.
- can_activate_bulk — Check if license can be activated on a given number of production and localhost sites.
- get_type — Get entity type.
- is_active
- is_expired
- is_features_enabled — Check if license's plan features are enabled.
- is_first_payment_pending — Subscription considered to be new without any payments if the license expires in less than 24 hours from the license creation.
- is_lifetime
- is_single_site — Check if single site license.
- is_unlimited
- is_utilized — Check if license is fully utilized.
- is_valid — Check if license is not expired.
- left — Check how many site activations left.
- total_activations