Uses
Uses | Description |
---|---|
wp-includes/functions.php: wp_parse_args() | Merge user defined arguments into defaults array. |
Constructor.
Sets up the generic skin for the WordPress Upgrader classes.
(array) (Optional) The WordPress upgrader skin arguments to override default options.
Default value: array()
File: wp-admin/includes/class-wp-upgrader-skin.php
public function __construct( $args = array() ) { $defaults = array( 'url' => '', 'nonce' => '', 'title' => '', 'context' => false, ); $this->options = wp_parse_args( $args, $defaults ); }
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader_skin/__construct