Clanbite Since 1.6.0

request_package( string $slug, string $version ): array{url: string, sha256: string, signature: string, size: int}|\WP_Error

Request a single-use download for a release.

public static

Class: Kernowdev\Clanbite\Updates\License_Client

Parameters

$slug (string) Required

Plugin slug.

$version (string) Required

Version to install.

Returns

array{url: string, sha256: string, signature: string, size: int}|\WP_Error

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

Changelog

VersionDescription
1.6.0Introduced.