Plugin_Installer_Skin::__construct

Advertisement

Syntax Syntax

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

Parameters Parameters

$args

(array) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.