Clanbite Since 1.6.0

activate( string $key ): array<string, mixed>|\WP_Error

Activate a licence key for this site.

public static

Class: Kernowdev\Clanbite\Updates\License_Client

Parameters

$key (string) Required

Licence key as typed.

Returns

array<string, mixed>|\WP_Error The new state summary, or the server's error.

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

Changelog

VersionDescription
1.6.0Introduced.