Translations::get_header( string $header ): string|false

In this article

Returns a given translation header.

Parameters

$headerstringrequired

Return

string|false Header if it exists, false otherwise.

Source

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

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.