W3cubDocs

/WordPress

apply_filters( 'status_header', string $status_header, int $code, string $description, string $protocol )

Filters an HTTP status header.

Parameters

$status_header

(string) HTTP status header.

$code

(int) HTTP status code.

$description

(string) Description for the status code.

$protocol

(string) Server protocol.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
2.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/status_header