WP_Ajax_Upgrader_Skin::__construct( array $args = array() )

Constructor.

Description

Sets up the WordPress Ajax upgrader skin.

See also

Parameters

$argsarrayoptional
The WordPress Ajax upgrader skin arguments to override default options. See WP_Upgrader_Skin::__construct().

Default:array()

Source

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

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

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.