WordPress at Your Fingertips
function is not described

Theme_Upgrader_Skin::__construct() public WP 2.8.0

Constructor.

Sets up the theme upgrader skin.

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

No Hooks.

Return

null. Nothing.

Usage

$Theme_Upgrader_Skin = new Theme_Upgrader_Skin();
$Theme_Upgrader_Skin->__construct( $args );
$args(array)
The theme upgrader skin arguments to override default options.
Default: empty array

Changelog

Since 2.8.0 Introduced.

Code of Theme_Upgrader_Skin::__construct() WP 5.8.2

public function __construct( $args = array() ) {
	$defaults = array(
		'url'   => '',
		'theme' => '',
		'nonce' => '',
		'title' => __( 'Update Theme' ),
	);
	$args     = wp_parse_args( $args, $defaults );

	$this->theme = $args['theme'];

	parent::__construct( $args );
}