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
.
Source
File: wp-admin/includes/class-wp-upgrader.php
public function init() { $this->skin->set_upgrader( $this ); $this->generic_strings(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |