W3cubDocs

/WordPress

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();
	}

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