license_service_interface
Contract for License Service.
Defines low-level API operations for license management.
Table of Contents
Methods
- activate_license() : array<string, mixed>
- Activate the license and store remote status.
- check_license_status() : array<string, mixed>
- Check license validity, optionally forcing a remote request.
- check_plugin_update() : array<string, mixed>
- Check for plugin updates available to the license.
- check_theme_update() : array<string, mixed>
- Check for theme updates granted by the license.
- deactivate_license() : array<string, mixed>
- Deactivate the license remotely and locally.
- get_code_version() : bool
- Verify code integrity or version consistency.
- get_plugin_information() : array<string, mixed>
- Retrieve plugin metadata from the licensing endpoint.
Methods
activate_license()
Activate the license and store remote status.
public
activate_license() : array<string, mixed>
Return values
array<string, mixed>check_license_status()
Check license validity, optionally forcing a remote request.
public
check_license_status([bool $force = false ]) : array<string, mixed>
Parameters
- $force : bool = false
Return values
array<string, mixed>check_plugin_update()
Check for plugin updates available to the license.
public
check_plugin_update() : array<string, mixed>
Return values
array<string, mixed>check_theme_update()
Check for theme updates granted by the license.
public
check_theme_update() : array<string, mixed>
Return values
array<string, mixed>deactivate_license()
Deactivate the license remotely and locally.
public
deactivate_license() : array<string, mixed>
Return values
array<string, mixed>get_code_version()
Verify code integrity or version consistency.
public
get_code_version() : bool
Return values
boolget_plugin_information()
Retrieve plugin metadata from the licensing endpoint.
public
get_plugin_information() : array<string, mixed>