Clanbite Since 1.6.0
clanbite_get_license_status( ): array{activated: bool, status: string, plan: string, unlimited: bool, expires: int, entitlements: list<array{slug: string, name: string, state: string, expires: int, free: bool}>}Summary of this site's Clanbite licence, for add-ons that want to adapt (never includes the key).
Returns
array{activated: bool, status: string, plan: string, unlimited: bool, expires: int, entitlements: list<array{slug: string, name: string, state: string, expires: int, free: bool}>} status is active, expired, suspended, revoked or none; expires is a timestamp (0 = none).
Defined in inc/updates/functions.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |