WP_Upgrader_Skin::set_upgrader( WP_Upgrader $upgrader )

In this article

Sets the relationship between the skin being used and the upgrader.

Parameters

$upgraderWP_Upgraderrequired

Source

public function set_upgrader( &$upgrader ) {
	if ( is_object( $upgrader ) ) {
		$this->upgrader =& $upgrader;
	}
	$this->add_strings();
}

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

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