Theme_Installer_Skin::before()publicWP 2.8.0

Action to perform before installing a theme.

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

Хуков нет.

Возвращает

null. Ничего.

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

$Theme_Installer_Skin = new Theme_Installer_Skin();
$Theme_Installer_Skin->before();

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

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

Код Theme_Installer_Skin::before() WP 6.1.1

public function before() {
	if ( ! empty( $this->api ) ) {
		$this->upgrader->strings['process_success'] = sprintf(
			$this->upgrader->strings['process_success_specific'],
			$this->api->name,
			$this->api->version
		);
	}
}