Plugin_Installer_Skin::__construct

Advertisement

Syntax Syntax

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

Parameters Parameters

$args

(Optional)

Default value: array()

Source Source

File: wp-admin/includes/class-plugin-installer-skin.php

	/**
	 * @param array $args
	 */
	public function __construct( $args = array() ) {
		$defaults = array(
			'type'      => 'web',
			'url'       => '',
			'plugin'    => '',
			'nonce'     => '',
			'title'     => '',
			'overwrite' => '',
		);
		$args     = wp_parse_args( $args, $defaults );

Advertisement

Advertisement

Leave a Reply