interface license_manager_interface

Contract for License Management.

Handles activation, checking, and UI rendering of license status.

Methods

array
activate()

Activate the plugin license remotely.

array
deactivate()

Deactivate the current license.

array
check_status(bool $force = false)

Check license status, optionally forcing a remote refresh.

array
check_update()

Check for plugin updates available for the licensed install.

array
get_info()

Get cached license information details.

string
render_info()

Render the license info widget HTML.

Details

at line 31
array activate()

Activate the plugin license remotely.

Return Value

array

at line 38
array deactivate()

Deactivate the current license.

Return Value

array

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

Check license status, optionally forcing a remote refresh.

Parameters

bool $force

Return Value

array

at line 54
array check_update()

Check for plugin updates available for the licensed install.

Return Value

array

at line 61
array get_info()

Get cached license information details.

Return Value

array

at line 66
string render_info()

Render the license info widget HTML.

Return Value

string