Clanbite Since 1.6.0

check( array $plugins ): array<string, array<string, mixed>>|\WP_Error

Ask the server which installed add-ons have updates.

Re-activates silently once when the server no longer knows this site's token and the key is still available. On a network error the last known answer is returned (with the error stored) so the Updates screen keeps working.

public static

Class: Kernowdev\Clanbite\Updates\License_Client

Parameters

$plugins (array<string, string>) Required

Installed add-on slug => version.

Returns

array<string, array<string, mixed>>|\WP_Error Slug => update row, empty when the site is not activated.

Defined in inc/updates/class-license-client.php

Changelog

VersionDescription
1.6.0Introduced.