Theme_Installer_Skin::before
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() Theme Installer Skin::before WP 7.0.4
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
);
}
}