WP_Upgrader::init() WordPress Method

The WP_Upgrader::init() method initializes the WordPress upgrader. It sets up the default properties and includes the necessary files.

WP_Upgrader::init() #

Initialize the upgrader.


Description

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


Top ↑

Source

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

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


Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.