Property | Type | Description | |
---|---|---|---|
$tag | number | Rollback variable. |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
customize_theme_update_html ( $prepared_themes ) : mixed | Call theme messaging for single site installation. | |
get_remote_theme_meta ( ) | Get remote theme meta to populate $config theme objects. | |
get_theme_configs ( ) : array | Returns an array of configurations for the known themes. | |
instance ( ) : object | The Theme object can be created/obtained via this method - this prevents unnecessary work in rebuilding the object and querying to construct a list of categories, etc. | |
load_pre_filters ( ) | Load pre-update filters. | |
multisite_branch_switcher ( $theme_key, $theme ) : boolean | void | Create branch switcher row for multisite installation. | |
pre_set_site_transient_update_themes ( array $transient ) : array | object | Hook into pre_set_site_transient_update_themes to update. | |
remove_after_theme_row ( $theme_key, $theme ) | Remove default after_theme_row_$stylesheet. | |
themes_api ( $false, $action, $response ) : mixed | Put changelog in themes_api, return WP.org data as appropriate. | |
wp_theme_update_row ( $theme_key, $theme ) | Add custom theme update row, from /wp-admin/includes/update.php Display update details or rollback links for multisite installation. |
Method | Description | |
---|---|---|
append_theme_actions_content ( object $theme ) : string | Create theme update messaging for single site installation. | |
get_theme_meta ( ) : array | Reads in WP_Theme class of each theme. | |
single_install_switcher ( object $theme ) : string | Display rollback/branch switcher for single site installation. |
protected append_theme_actions_content ( object $theme ) : string | ||
$theme | object | |
return | string | (content buffer) |
public customize_theme_update_html ( $prepared_themes ) : mixed | ||
$prepared_themes | ||
return | mixed |
public get_remote_theme_meta ( ) |
public get_theme_configs ( ) : array | ||
return | array |
protected get_theme_meta ( ) : array | ||
return | array | Indexed array of associative arrays of theme details. |
public multisite_branch_switcher ( $theme_key, $theme ) : boolean | void | ||
$theme_key | ||
$theme | ||
return | boolean | void |
public remove_after_theme_row ( $theme_key, $theme ) | ||
$theme_key | ||
$theme |
protected single_install_switcher ( object $theme ) : string | ||
$theme | object | |
return | string |
public themes_api ( $false, $action, $response ) : mixed | ||
$false | ||
$action | ||
$response | ||
return | mixed |
public wp_theme_update_row ( $theme_key, $theme ) | ||
$theme_key | ||
$theme |