Skip to content

Kirby 5.0.4

$plugin->updateStatus()

Returns the update status object unless the update check has been disabled for the plugin

$plugin->updateStatus(array|null $data = null): Kirby\Cms\System\UpdateStatus|null

Parameters

Name Type Default Description
$data arrayornull null Custom override for the getkirby.com update data

Return types

Kirby\Cms\System\UpdateStatusornull

This method modifies the existing $plugin object it is applied to and returns it again.

Parent class

Kirby\Plugin\Plugin