Translations::get_header │ public │ WP 2.8.0

Returns a given translation header.

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

Хуков нет.

Возвращает

string|false. Header if it exists, false otherwise.

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

$Translations = new Translations();
$Translations->get_header( $header );
$header(строка) (обязательный)
.

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

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

Код Translations::get_header() WP 7.1.5

public function get_header( $header ) {
	return $this->headers[ $header ] ?? false;
}