PHP 클래스 Fragen\GitHub_Updater\Additions

Add repos without GitHub Updater headers to GitHub Updater. Uses JSON config data file and companion plugin.
저자: Andy Fragen
파일 보기 프로젝트 열기: afragen/github-updater

공개 프로퍼티들

프로퍼티 타입 설명
$add_to_github_updater Holds array of plugin/theme headers to add to GitHub Updater.

공개 메소드들

메소드 설명
add_headers ( $config, $repos, $type ) Add GitHub Updater headers to plugins/themes via a filter hooks.
instance ( ) : object Singleton
register ( $config, $repos, $type ) : boolean Register JSON config file.

메소드 상세

add_headers() 공개 메소드

Add GitHub Updater headers to plugins/themes via a filter hooks.
public add_headers ( $config, $repos, $type )
$config
$repos
$type

instance() 공개 정적인 메소드

Singleton
public static instance ( ) : object
리턴 object $instance Additions

register() 공개 메소드

Register JSON config file.
public register ( $config, $repos, $type ) : boolean
$config
$repos
$type
리턴 boolean

프로퍼티 상세

$add_to_github_updater 공개적으로 프로퍼티

Holds array of plugin/theme headers to add to GitHub Updater.
public $add_to_github_updater