WPDev.one
Core Function
View Source on Trac ↗

get_status_header_desc()

get_status_header_desc( mixed $code )

Retrieves the description for the HTTP status.

Parameters 1 required

Name / Type Description
$code
int

HTTP status code.

Required

Return Value

(string)
Status description if found, an empty string otherwise.

Function Information

Since Version
2.3.0
Source File
wp-includes/functions.php
Advertisement