WordPress at a glance
function is not described

Translations::set_header() public WP 1.0

Sets $header PO header to $value

If the header already exists, it will be overwritten

TODO: this should be out of this class, it is gettext specific

{} It's a method of the class: Translations{}

No Hooks.

Return

null. Null. Nothing.

Usage

$Translations = new Translations();
$Translations->set_header( $header, $value );
$header(string) (required)
header name, without trailing :
$value(string) (required)
header value, without trailing \n

Code of Translations::set_header() WP 5.7

<?php
function set_header( $header, $value ) {
	$this->headers[ $header ] = $value;
}