PHP Class Fragen\GitHub_Updater\Language_Pack

Inheritance: extends Base
Afficher le fichier Open project: afragen/github-updater

Protected Properties

Свойство Type Description
$repo object Variable containing the plugin/theme object.
$repo_api Variable containing the git host API object.

Méthodes publiques

Méthode Description
__construct ( object $repo, object $api ) Language_Pack constructor.
pre_set_site_transient ( $transient ) : mixed Add language translations to update_plugins or update_themes transients.

Méthodes protégées

Méthode Description
run ( ) Do the Language Pack integration.

Method Details

__construct() public méthode

Language_Pack constructor.
public __construct ( object $repo, object $api )
$repo object Plugin/Theme object.
$api object Git host API object.

pre_set_site_transient() public méthode

Add language translations to update_plugins or update_themes transients.
public pre_set_site_transient ( $transient ) : mixed
$transient
Résultat mixed

run() protected méthode

Do the Language Pack integration.
protected run ( )

Property Details

$repo protected_oe property

Variable containing the plugin/theme object.
protected object $repo
Résultat object

$repo_api protected_oe property

Variable containing the git host API object.
protected $repo_api