Language_Pack_Upgrader_Skin::before()publicWP 1.0

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

Хуков нет.

Возвращает

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

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

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

Код Language_Pack_Upgrader_Skin::before() WP 6.5.2

public function before() {
	$name = $this->upgrader->get_name_for_update( $this->language_update );

	echo '<div class="update-messages lp-show-latest">';

	/* translators: 1: Project name (plugin, theme, or WordPress), 2: Language. */
	printf( '<h2>' . __( 'Updating translations for %1$s (%2$s)&#8230;' ) . '</h2>', $name, $this->language_update->language );
}