Translations::get_header()publicWP 2.8.0

Returns a given translation header.

Method of the class: Translations{}

No Hooks.

Return

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

Usage

$Translations = new Translations();
$Translations->get_header( $header );
$header(string) (required)
-

Changelog

Since 2.8.0 Introduced.

Translations::get_header() code WP 6.5.3

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