Bulk_Theme_Upgrader_Skin::add_strings
Sets up the strings used in the update process.
Метод класса: Bulk_Theme_Upgrader_Skin{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Bulk_Theme_Upgrader_Skin = new Bulk_Theme_Upgrader_Skin(); $Bulk_Theme_Upgrader_Skin->add_strings();
Список изменений
| С версии 3.0.0 | Введена. |
Код Bulk_Theme_Upgrader_Skin::add_strings() Bulk Theme Upgrader Skin::add strings WP 6.9
public function add_strings() {
parent::add_strings();
/* translators: 1: Theme name, 2: Number of the theme, 3: Total number of themes being updated. */
$this->upgrader->strings['skin_before_update_header'] = __( 'Updating Theme %1$s (%2$d/%3$d)' );
}