Property | Type | Description | |
---|---|---|---|
$chained_command | |||
$item_type | |||
$obj_fields | |||
$upgrade_refresh | |||
$upgrade_transient |
Method | Description | |
---|---|---|
__construct ( ) | ||
install ( $args, $assoc_args ) | ||
status ( $args ) |
Method | Description | |
---|---|---|
_list ( $_, $assoc_args ) | ||
_search ( array $args, array $assoc_args ) | Search wordpress.org repo. | |
alter_api_response ( object $response, string $version ) | Prepare an API response for downloading a particular version of an item. | |
filter_item_list ( $items, $args ) : array | ||
format_status ( $status, $format ) | ||
get_all_items ( ) | ||
get_formatter ( &$assoc_args ) | ||
get_item_list ( ) | ||
get_status ( $file ) | ||
get_update_info ( string $slug ) : array | null | Get the available update info | |
get_upgrader ( $assoc_args ) | ||
get_upgrader_class ( $force ) | ||
has_update ( string $slug ) : boolean | Check whether an item has an update available or not. | |
install_from_repo ( $slug, $assoc_args ) | ||
status_single ( $args ) | ||
update_many ( $args, $assoc_args ) |
Method | Description | |
---|---|---|
get_color ( $status ) | ||
get_padding ( $items ) | ||
show_legend ( $items ) | ||
status_all ( ) |
protected static alter_api_response ( object $response, string $version ) | ||
$response | object | wordpress.org API response |
$version | string | The desired version of the package |
abstract protected filter_item_list ( $items, $args ) : array | ||
return | array | List of update candidates |
protected has_update ( string $slug ) : boolean | ||
$slug | string | The plugin/theme slug |
return | boolean |
abstract protected install_from_repo ( $slug, $assoc_args ) |