WP_Upgrader::__construct

Advertisement

Summery Summery

Construct the upgrader with a skin.

Syntax Syntax

WP_Upgrader::__construct( WP_Upgrader_Skin $skin = null )

Parameters Parameters

$skin

(Optional) The upgrader skin to use. Default is a WP_Upgrader_Skin. instance.

Default value: null

Source Source

File: wp-admin/includes/class-wp-upgrader.php

	public function __construct( $skin = null ) {
		if ( null == $skin ) {
			$this->skin = new WP_Upgrader_Skin();
		} else {
			$this->skin = $skin;
		}
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply