WordPress at Your Fingertips
function is not described

Theme_Installer_Skin::__construct() public WP 1.0

{} It's a method of the class: Theme_Installer_Skin{}

No Hooks.

Return

null. Nothing.

Usage

$Theme_Installer_Skin = new Theme_Installer_Skin();
$Theme_Installer_Skin->__construct( $args );
$args(array)
-
Default: array()

Code of Theme_Installer_Skin::__construct() WP 5.8.2

public function __construct( $args = array() ) {
	$defaults = array(
		'type'      => 'web',
		'url'       => '',
		'theme'     => '',
		'nonce'     => '',
		'title'     => '',
		'overwrite' => '',
	);
	$args     = wp_parse_args( $args, $defaults );

	$this->type      = $args['type'];
	$this->url       = $args['url'];
	$this->api       = isset( $args['api'] ) ? $args['api'] : array();
	$this->overwrite = $args['overwrite'];

	parent::__construct( $args );
}