$pluginUpdate
$pluginUpdate :\DevOwl\RealProductManagerWpClient\PluginUpdate
Plugin update instance.
This is the main class. You need to create an own class extending from this one to initiate the client. The configuration is done by an abstract schema. That means, all configurations need to be implemented through methods.
$pluginUpdate :\DevOwl\RealProductManagerWpClient\PluginUpdate
Plugin update instance.
getPluginBase(): \MatthiasWeb\Utils\Base
Get the plugin's base instance. It is needed so our initiator can access dynamically constants and configurations.
getPluginAssets(): \MatthiasWeb\Utils\Assets
Get the plugin's assets instance. It is need to enqueue scripts and styles.
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!
isAdminNoticeLicenseVisible(): boolean
Return `true` if you want to show a notice in the current admin page when the plugin is not fully licensed. There are multiple texts depending on the day since the first initialization. See also `PluginUpdateView#getAdminNoticeLicenseText`.
buildTelemetryData(\DevOwl\RealProductManagerWpClient\license\TelemetryData $telemetry)
Allows you to build telemetry data.
\DevOwl\RealProductManagerWpClient\license\TelemetryData | $telemetry |
getPluginUpdater(): \DevOwl\RealProductManagerWpClient\PluginUpdate
Get the plugin updater instance.