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 31
array activate_license()

Activate the license and store remote status.

Return Value

array

at line 38
array deactivate_license()

Deactivate the license remotely and locally.

Return Value

array

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

Check license validity, optionally forcing a remote request.

Parameters

bool $force

Return Value

array

at line 54
array check_plugin_update()

Check for plugin updates available to the license.

Return Value

array

at line 61
array get_plugin_information()

Retrieve plugin metadata from the licensing endpoint.

Return Value

array

at line 68
array check_theme_update()

Check for theme updates granted by the license.

Return Value

array

at line 73
bool get_code_version()

Verify code integrity or version consistency.

Return Value

bool