WP_Ajax_Upgrader_Skin::__construct
Constructor.
Sets up the WordPress Ajax upgrader skin.
Method of the class: WP_Ajax_Upgrader_Skin{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Ajax_Upgrader_Skin = new WP_Ajax_Upgrader_Skin(); $WP_Ajax_Upgrader_Skin->__construct( $args );
- $args(array)
- The WordPress Ajax upgrader skin arguments to override default options. See WP_Upgrader_Skin::__construct().
Default:empty array
Notes
Changelog
| Since 4.6.0 | Introduced. |
WP_Ajax_Upgrader_Skin::__construct() WP Ajax Upgrader Skin:: construct code WP 7.0
public function __construct( $args = array() ) {
parent::__construct( $args );
$this->errors = new WP_Error();
}