On this page
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. View all references
public function init() {
$this->skin->set_upgrader( $this );
$this->generic_strings();
}
Related
Uses
| Uses | Description |
|---|---|
| WP_Upgrader::generic_strings() wp-admin/includes/class-wp-upgrader.php | Add the generic strings to WP_Upgrader::$strings. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader/init