WP_Upgrader::init()publicWP 2.8.0

Initialize the upgrader.

This will set the relationship between the skin being used and this upgrader, and also add the generic strings to WP_Upgrader::$strings.

{} Это метод класса: WP_Upgrader{}

Хуков нет.

Возвращает

null. Ничего.

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

$WP_Upgrader = new WP_Upgrader();
$WP_Upgrader->init();

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

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

Код WP_Upgrader::init() WP 6.0.2

public function init() {
	$this->skin->set_upgrader( $this );
	$this->generic_strings();
}