PHP Класс Give_License, Give

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $_file, string $_item_name, string $_version, string $_author, string $_optname = null, string $_api_url = null ) : void Class Constructor
activate_license ( ) : void Activate License
auto_updater ( ) : void Auto Updater
deactivate_license ( ) : void Deactivate License
license_settings_content ( array $settings ) : array License Settings Content
notices ( ) : void License Notices
settings ( array $settings ) : array License Settings

Приватные методы

Метод Описание
hooks ( ) : void Hooks
includes ( ) : void Includes

Описание методов

__construct() публичный Метод

Set up the Give License Class.
public __construct ( string $_file, string $_item_name, string $_version, string $_author, string $_optname = null, string $_api_url = null ) : void
$_file string
$_item_name string
$_version string
$_author string
$_optname string
$_api_url string
Результат void

activate_license() публичный Метод

Activate the license key.
public activate_license ( ) : void
Результат void

auto_updater() публичный Метод

Setup the license auto updater.
public auto_updater ( ) : void
Результат void

deactivate_license() публичный Метод

Deactivate the license key.
public deactivate_license ( ) : void
Результат void

license_settings_content() публичный Метод

Add Some Content to the Licensing Settings.
public license_settings_content ( array $settings ) : array
$settings array License settings content.
Результат array License settings content.

notices() публичный Метод

Admin notices for license errors.
public notices ( ) : void
Результат void

settings() публичный Метод

Add license field to settings.
public settings ( array $settings ) : array
$settings array License settings.
Результат array License settings.