Theme_Installer_Skin::__construct()publicWP 1.0

Method of the class: Theme_Installer_Skin{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Theme_Installer_Skin::__construct() code WP 6.5.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 );
}