Properties

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

getPluginBase()

getPluginBase(): \MatthiasWeb\Utils\Base

Documented in AbstractInitiator.

Returns

\MatthiasWeb\Utils\Base

getProductAndVariant()

getProductAndVariant(): array<mixed,integer>

Documented in AbstractInitiator.

Returns

array<mixed,integer>

getPluginAssets()

getPluginAssets(): \MatthiasWeb\Utils\Assets

Documented in AbstractInitiator.

Returns

\MatthiasWeb\Utils\Assets

getPrivacyPolicy()

getPrivacyPolicy(): string

Documented in AbstractInitiator.

Returns

string

isExternalUpdateEnabled()

isExternalUpdateEnabled(): boolean

Documented in AbstractInitiator.

Returns

boolean

isAutoUpdatesEnabled()

isAutoUpdatesEnabled(): boolean

Returns `true` if the current WordPress installations allows automatic updates for this plugin.

Returns false if the current plugin is already enabled for auto updates.

Attention: We have implemented to only update minor and patch versions, no major versions!

Returns

boolean

isTelemetryEnabled()

isTelemetryEnabled(): boolean

Return `false` if you want to disable sending telemetry data.

Returns

boolean

isAdminNoticeLicenseVisible()

isAdminNoticeLicenseVisible(): boolean

Documented in AbstractInitiator.

Returns

boolean

isLocalAnnouncementVisible()

isLocalAnnouncementVisible(): boolean

Documented in AbstractInitiator.

Returns

boolean

isNewsletterEnabled()

isNewsletterEnabled(): boolean

Return `false` if you want to disable sending newsletter signup.

Returns

boolean

isMultisiteLicensed()

isMultisiteLicensed(): boolean

Return `false` if you want to disable license per site in multisite.

For wordpress.org plugins (free) the multisite-license is disabled.

Returns

boolean

getMigrationOption()

getMigrationOption(): null|string

Documented in AbstractInitiator.

Returns

null|string

getHost()

getHost()

getAccountSiteUrl()

getAccountSiteUrl()

getLicenseKeyHelpUrl()

getLicenseKeyHelpUrl()

Documented in AbstractInitiator.

getPrivacyProvider()

getPrivacyProvider(): string

Get the privacy provider.

Returns

string

start()

start()

Initialize all available things depending on the configuration.

getPluginSlug()

getPluginSlug()

getPluginFile()

getPluginFile()

getPluginVersion()

getPluginVersion()

getPluginName()

getPluginName()