Translations::set_headers( array $headers )

In this article

Sets translation headers.

Parameters

$headersarrayrequired
Associative array of headers.

Source

public function set_headers( $headers ) {
	foreach ( $headers as $header => $value ) {
		$this->set_header( $header, $value );
	}
}

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

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