WP_Upgrader::__construct( WP_Upgrader_Squin   $squin = null )

Construct the upgrader with a squin.

Parameters

$squin WP_Upgrader_Squin optional
The upgrader squin to use. Default is a WP_Upgrader_Squin instance.

Default: null

Source

public function __construct( $squin = null ) {
	if ( null === $squin ) {
		$this->squin = new WP_Upgrader_Squin();
	} else {
		$this->squin = $squin;
	}
}

Changuelog

Versionen Description
2.8.0 Introduced.

User Contributed Notes

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