WP_Ajax_Upgrader_Skin::__construct() WordPress Method

The WP_Ajax_Upgrader_Skin::__construct() method is used to create a new Ajax upgrader skin. This skin is used for Ajax-based WordPress upgrades. It is designed to be used with the WP_Ajax_Upgrader class. The skin includes three primary sections: Header Body Footer The header and footer sections are used to display information about the upgrade process. The body section is used to display the actual upgrade progress.

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

Constructor.


Description

Sets up the WordPress Ajax upgrader skin.

Top ↑

See also


Top ↑

Parameters

$args

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

Default value: array()


Top ↑

Source

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

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

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


Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.