WP_Upgrader_Skin::set_upgrader( WP_Upgrader $upgrader )

Parameters

$upgrader

(WP_Upgrader) (Required)

Source

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

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

Changelog

Version Description
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader_skin/set_upgrader