WP_HTTP_Response::set_status

SummerySummery

Sets the 3-digit HTTP status code.

Syntax

WP_HTTP_Response::set_status( int $code )

ParametersParameters

$code

(int) (Required) HTTP status.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top