WP_Upgrader_Skin::__construct() –

You appear to be a bot. Output may be restricted

Description

Constructor.

Sets up the generic skin for the WordPress Upgrader classes.

Usage

WP_Upgrader_Skin::__construct( $args );

Parameters

$args
( array ) optional – Optional. The WordPress upgrader skin arguments to override default options. Default empty array.

Returns

void

Source

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

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

 View on GitHub View on Trac