Translations::set_header( string $header, string $value )

Sets $header PO header to $value


Description Description

If the header already exists, it will be overwritten

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


Top ↑

Parameters Parameters

$header

(string) (Required) header name, without trailing :

$value

(string) (Required) header value, without trailing n


Top ↑

Source Source

File: wp-includes/pomo/translations.php

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


Top ↑

User Contributed Notes User Contributed Notes

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