WordPress at Your Fingertips
function is not described

WP_Upgrader_Skin::__construct() public WP 2.8.0

Constructor.

Sets up the generic skin for the WordPress Upgrader classes.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.8.0 Introduced.

Code of WP_Upgrader_Skin::__construct() WP 5.8.2

public function __construct( $args = array() ) {
	$defaults      = array(
		'url'     => '',
		'nonce'   => '',
		'title'   => '',
		'context' => false,
	);
	$this->options = wp_parse_args( $args, $defaults );
}