WP_Ajax_Upgrader_Skin::__construct()publicWP 4.6.0

Constructor.

Sets up the WordPress Ajax upgrader skin.

Метод класса: WP_Ajax_Upgrader_Skin{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WP_Ajax_Upgrader_Skin = new WP_Ajax_Upgrader_Skin();
$WP_Ajax_Upgrader_Skin->__construct( $args );
$args(массив)
The WordPress Ajax upgrader skin arguments to override default options. See WP_Upgrader_Skin::__construct().
По умолчанию: empty array

Заметки

Список изменений

С версии 4.6.0 Введена.

Код WP_Ajax_Upgrader_Skin::__construct() WP 6.5.2

public function __construct( $args = array() ) {
	parent::__construct( $args );

	$this->errors = new WP_Error();
}