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


Description Description


Parameters Parameters

$args

(array) (Optional)

Default value: array()


Top ↑

Source Source

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

	public function __construct( $args = array() ) {
		$defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') );
		$args = wp_parse_args($args, $defaults);

		$this->plugin = $args['plugin'];

		$this->plugin_active = is_plugin_active( $this->plugin );
		$this->plugin_network_active = is_plugin_active_for_network( $this->plugin );

		parent::__construct($args);
	}


Top ↑

User Contributed Notes User Contributed Notes

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