Theme_Installer_Skin::before()publicWP 2.8.0

Performs an action before installing a theme.

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

Хуков нет.

Возвращает

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

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

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

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

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

Код Theme_Installer_Skin::before() WP 6.5.3

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
		);
	}
}