PHP Class Fragen\GitHub_Updater\Additions

Add repos without GitHub Updater headers to GitHub Updater. Uses JSON config data file and companion plugin.
Mostrar archivo Open project: afragen/github-updater

Public Properties

Property Type Description
$add_to_github_updater Holds array of plugin/theme headers to add to GitHub Updater.

Public Methods

Method Description
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.

Method Details

add_headers() public method

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

instance() public static method

Singleton
public static instance ( ) : object
return object $instance Additions

register() public method

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

Property Details

$add_to_github_updater public_oe property

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