Used By
| Used By | Description |
|---|---|
| wp-includes/pomo/translations.php: Gettext_Translations::set_header() | |
| wp-includes/pomo/translations.php: Translations::set_headers() |
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
(string) (Required) header name, without trailing :
(string) (Required) header value, without trailing n
File: wp-includes/pomo/translations.php
function set_header( $header, $value ) {
$this->headers[ $header ] = $value;
}
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/translations/set_header