License handler for Easy Property Listings
This class should simplify the process of adding license information to new EPL extensions.
| Since | |
|---|---|
1.0 |
|
| Methods | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct(
string $_file,
string $_item_name,
string $_version,
string $_author,
string $_optname = null,
string $_api_url = null,
string $_item_id = null,
)
Class constructor
Class constructor Parameters
|
# | ||||||||||||||
public
|
auto_updater(): void
Auto updater
Auto updater |
# | ||||||||||||||
public
|
activate_license(): void
Activate the license key
Activate the license key Since
|
# | ||||||||||||||
public
|
deactivate_license(): void
Deactivate the license key
Deactivate the license key |
# | ||||||||||||||
public
|
maybe_validate_license(): void
Check if validating license
Check if validating license Since
|
# | ||||||||||||||
public
|
license_notices()
Outputs any notices generated by the class.
Outputs any notices generated by the class. Since
|
# | ||||||||||||||
public
|
notices(): void
Admin notices for errors
Admin notices for errors Since
|
# | ||||||||||||||
public
|
plugin_row_license_missing(array $plugin_data, array $version_info): void
Displays message inline on plugin row that the license key is missing
Displays message inline on plugin row that the license key is missing Parameters
Since
|
# | ||||||||||||||
public
|
register_beta_support(array $products): array
Adds this plugin to the beta page
Adds this plugin to the beta page Parameters
Since
|
# | ||||||||||||||