interface license_service_interface

Contract for License Service.

Defines low-level API operations for license management.

Methods

array
activate_license()

Activate the license and store remote status.

array
deactivate_license()

Deactivate the license remotely and locally.

array
check_license_status(bool $force = false)

Check license validity, optionally forcing a remote request.

array
check_plugin_update()

Check for plugin updates available to the license.

array
get_plugin_information()

Retrieve plugin metadata from the licensing endpoint.

array
check_theme_update()

Check for theme updates granted by the license.

bool
get_code_version()

Verify code integrity or version consistency.

Details

at line 33
array activate_license()

Activate the license and store remote status.

Return Value

array

at line 40
array deactivate_license()

Deactivate the license remotely and locally.

Return Value

array

at line 49
array check_license_status(bool $force = false)

Check license validity, optionally forcing a remote request.

Parameters

bool $force

Return Value

array

at line 56
array check_plugin_update()

Check for plugin updates available to the license.

Return Value

array

at line 63
array get_plugin_information()

Retrieve plugin metadata from the licensing endpoint.

Return Value

array

at line 70
array check_theme_update()

Check for theme updates granted by the license.

Return Value

array

at line 75
bool get_code_version()

Verify code integrity or version consistency.

Return Value

bool