WP_Ajax_Upgrader_Skin::__construct
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
Заметки
- Смотрите: WP_Upgrader_Skin::__construct()
Список изменений
| С версии 4.6.0 | Введена. |
Код WP_Ajax_Upgrader_Skin::__construct() WP Ajax Upgrader Skin:: construct WP 7.0.2
public function __construct( $args = array() ) {
parent::__construct( $args );
$this->errors = new WP_Error();
}