Uses
Uses | Description |
---|---|
wp-admin/includes/class-wp-upgrader-skin.php: WP_Upgrader_Skin::__construct() | Constructor. |
Construct the upgrader with a skin.
(WP_Upgrader_Skin) (Optional) The upgrader skin to use. Default is a WP_Upgrader_Skin instance.
Default value: null
File: wp-admin/includes/class-wp-upgrader.php
public function __construct( $skin = null ) { if ( null == $skin ) { $this->skin = new WP_Upgrader_Skin(); } else { $this->skin = $skin; } }
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader/__construct