wordpress / latest / classes / wp_ajax_upgrader_skin / __construct.html

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

Constructor.

Description

Sets up the WordPress Ajax upgrader skin.

See also

Parameters

$args array Optional
The WordPress Ajax upgrader skin arguments to override default options. See WP_Upgrader_Skin::__construct().
More Arguments from WP_Upgrader_Skin::__construct( ... $args ) The WordPress upgrader skin arguments to override default options.

Default: array()

Source

File: wp-admin/includes/class-wp-ajax-upgrader-skin.php. View all references

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

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

Used By

Used By Description

Changelog

Version Description
4.6.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_ajax_upgrader_skin/__construct