license_manager_interface
Contract for License Management.
Handles activation, checking, and UI rendering of license status.
Table of Contents
Methods
- activate() : array<string, mixed>
- Activate the plugin license remotely.
- check_status() : array<string, mixed>
- Check license status, optionally forcing a remote refresh.
- check_update() : array<string, mixed>
- Check for plugin updates available for the licensed install.
- deactivate() : array<string, mixed>
- Deactivate the current license.
- get_info() : array<string, mixed>
- Get cached license information details.
- render_info() : string
- Render the license info widget HTML.
Methods
activate()
Activate the plugin license remotely.
public
activate() : array<string, mixed>
Return values
array<string, mixed>check_status()
Check license status, optionally forcing a remote refresh.
public
check_status([bool $force = false ]) : array<string, mixed>
Parameters
- $force : bool = false
Return values
array<string, mixed>check_update()
Check for plugin updates available for the licensed install.
public
check_update() : array<string, mixed>
Return values
array<string, mixed>deactivate()
Deactivate the current license.
public
deactivate() : array<string, mixed>
Return values
array<string, mixed>get_info()
Get cached license information details.
public
get_info() : array<string, mixed>
Return values
array<string, mixed>render_info()
Render the license info widget HTML.
public
render_info() : string