PHP 클래스 Give_License, Give

파일 보기 프로젝트 열기: wordimpress/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.