OPTION_NAME_FIRST_INITIALIZATION_PREFIX
OPTION_NAME_FIRST_INITIALIZATION_PREFIX =RPM_WP_CLIENT_OPT_PREFIX . '-puFirst_'
Plugin update and license handling. If the plugin is hosted on wordpress.org, this class never does anything. But notice, that wordpress.org plugins also needs to "Complete the setup" and get a "free license" from the RPM license server.
$licenseActivationClient :\DevOwl\RealProductManagerWpClient\client\LicenseActivation
License activation client.
$view :\DevOwl\RealProductManagerWpClient\view\PluginUpdateView
View handler.
$initiator :\DevOwl\RealProductManagerWpClient\AbstractInitiator
Initiator for this plugin.
$announcementPool :\DevOwl\RealProductManagerWpClient\announcement\AnnouncementPool
Announcement pool
$pluginUpdateChecker :\DevOwl\RealProductManagerWpClient\license\PluginUpdateChecker
Plugin Update Checker instance.
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 |
instance(\DevOwl\RealProductManagerWpClient\AbstractInitiator $initiator)
New instance.
\DevOwl\RealProductManagerWpClient\AbstractInitiator | $initiator |
__construct(\DevOwl\RealProductManagerWpClient\AbstractInitiator $initiator)
C'tor.
\DevOwl\RealProductManagerWpClient\AbstractInitiator | $initiator |