WP_Ajax_Upgrader_Skin::__construct()publicWP 4.6.0

Constructor.

Sets up the WordPress Ajax upgrader skin.

Method of the class: WP_Ajax_Upgrader_Skin{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Notes

Changelog

Since 4.6.0 Introduced.

WP_Ajax_Upgrader_Skin::__construct() code WP 6.5.2

public function __construct( $args = array() ) {
	parent::__construct( $args );

	$this->errors = new WP_Error();
}