WP_Upgrader_Skin::set_upgrader()publicWP 2.8.0

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.

WP_Upgrader_Skin::set_upgrader() code WP 6.1.1

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