$licenses
$licenses :array<mixed,\DevOwl\RealProductManagerWpClient\license\License>
License instances.
Use this trait together in `PluginUpdate`.
$licenseActivationClient :\DevOwl\RealProductManagerWpClient\client\LicenseActivation
License activation client.
updateLicenseSettings(array $licenses,boolean $telemetry = false,boolean $newsletterOptIn = false,string $firstName = '',string $email = '')
Update license settings for this plugin.
array | $licenses | Pass |
boolean | $telemetry | |
boolean | $newsletterOptIn | |
string | $firstName | |
string |
getLicenses(boolean $checkRemoteStatus = false): array<mixed,\DevOwl\RealProductManagerWpClient\license\License>
Get all licenses for each blog (when multisite is enabled). Attention: If a blog uses the same hostname as a previous known blog, they share the same `License` instance.
boolean | $checkRemoteStatus |
getUniqueLicenses(boolean $skipNoUsage = false): array<mixed,\DevOwl\RealProductManagerWpClient\license\License>
The same as `getLicenses`, but only get unique `License` instances.
boolean | $skipNoUsage | Pass |