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

Constructor.


Description Description

Sets up the generic skin for the WordPress Upgrader classes.


Top ↑

Parameters Parameters

$args

(array) (Optional) The WordPress upgrader skin arguments to override default options.

Default value: array()


Top ↑

Source Source

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

	public function __construct( $args = array() ) {
		$defaults      = array(
			'url'     => '',
			'nonce'   => '',
			'title'   => '',
			'context' => false,
		);
		$this->options = wp_parse_args( $args, $defaults );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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