WordPress at Your Fingertips
function is not described

WP_Upgrader_Skin::set_upgrader() public WP 2.8.0

{} It's a method of the class: WP_Upgrader_Skin{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Upgrader_Skin = new WP_Upgrader_Skin();
$WP_Upgrader_Skin->set_upgrader( $upgrader );
$upgrader(WP_Upgrader) (required) (passed by reference — &)
-

Changelog

Since 2.8.0 Introduced.

Code of WP_Upgrader_Skin::set_upgrader() WP 5.8.2

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