WPDev.one
Core Class

Theme_Installer_Skin

class Theme_Installer_Skin // Constructor: function Object() { [native code] }

Theme Installer Skin for the WordPress Theme Installer.

Methods 5 methods

Method / Return Description
__construct()
void

Constructor.

Parameters: $args: mixed
before()
void

Performs an action before installing a theme.

hide_process_failed()
bool

Hides the `process_failed` error when updating a theme by uploading a zip file.

Parameters: $wp_error: mixed
after()
void

Performs an action following a single theme install.

do_overwrite()
bool

Checks if the theme can be overwritten and outputs the HTML for overwriting a theme on upload.

Properties

Property / Type Description
$api
mixed
public
No description available.
$type
mixed
public
No description available.
$url
mixed
public
No description available.
$overwrite
mixed
public
No description available.
$is_downgrading
mixed
public
No description available.

Class Information

Since Version
2.8.0
Source File
wp-admin/includes/class-theme-installer-skin.php
Advertisement