WordPress at Your Fingertips
function is not described

WP_Upgrader::init() public WP 2.8.0

Initialize the upgrader.

This will set the relationship between the skin being used and this upgrader, and also add the generic strings to WP_Upgrader::$strings.

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

No Hooks.

Return

null. Nothing.

Usage

$WP_Upgrader = new WP_Upgrader();
$WP_Upgrader->init();

Changelog

Since 2.8.0 Introduced.

Code of WP_Upgrader::init() WP 5.8.2

public function init() {
	$this->skin->set_upgrader( $this );
	$this->generic_strings();
}