Uses
Uses | Description |
---|---|
wp-includes/class-wp-error.php: WP_Error::__construct() | Initialize the error. |
Constructor.
Sets up the WordPress Ajax upgrader skin.
(array) (Optional) The WordPress Ajax upgrader skin arguments to override default options. See WP_Upgrader_Skin::__construct().
Default value: array()
File: wp-admin/includes/class-wp-ajax-upgrader-skin.php
public function __construct( $args = array() ) { parent::__construct( $args ); $this->errors = new WP_Error(); }
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_ajax_upgrader_skin/__construct