Property | Type | Description | |
---|---|---|---|
$repo | object | Variable containing the plugin/theme object. | |
$repo_api | Variable containing the git host API object. |
Method | 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. |
Method | Description | |
---|---|---|
run ( ) | Do the Language Pack integration. |
public __construct ( object $repo, object $api ) | ||
$repo | object | Plugin/Theme object. |
$api | object | Git host API object. |
public pre_set_site_transient ( $transient ) : mixed | ||
$transient | ||
return | mixed |
protected object $repo | ||
return | object |