Theme_Upgrader_Skin::__construct( array $args = array() )
Constructor.
Description
Sets up the theme upgrader skin.
Parameters
- $args
-
(array) (Optional) The theme upgrader skin arguments to override default options.
Default value: array()
Source
File: wp-admin/includes/class-theme-upgrader-skin.php
public function __construct( $args = array() ) { $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __( 'Update Theme' ), ); $args = wp_parse_args( $args, $defaults ); $this->theme = $args['theme']; parent::__construct( $args ); }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |