WordPress at Your Fingertips
function is not described

WP_Ajax_Upgrader_Skin::__construct() public WP 4.6.0

Constructor.

Sets up the WordPress Ajax upgrader skin.

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

No Hooks.

Return

null. Nothing.

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.

Code of WP_Ajax_Upgrader_Skin::__construct() WP 5.8.2

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

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