WP_HTTP_Response::set_headers

SummerySummery

Sets all header values.

Syntax

WP_HTTP_Response::set_headers( array $headers )

ParametersParameters

$headers

(array) (Required) Map of header name to header value.

SourceSource

File: wp-includes/class-wp-http-response.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top