wordpress / latest / hooks / status_header.html

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 all references

$status_header = apply_filters( 'status_header', $status_header, $code, $description, $protocol );

Used By

Used By Description

Changelog

Version Description
2.2.0 Introduced.

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