PHP Class Fragen\GitHub_Updater\Additions

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

Méthodes publiques

Свойство Type Description
$add_to_github_updater Holds array of plugin/theme headers to add to GitHub Updater.

Méthodes publiques

Méthode 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 méthode

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

instance() public static méthode

Singleton
public static instance ( ) : object
Résultat object $instance Additions

register() public méthode

Register JSON config file.
public register ( $config, $repos, $type ) : boolean
$config
$repos
$type
Résultat 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