get_status_header_desc()
get_status_header_desc( int $code )
检索HTTP状态的描述。
Retrieve the description for the HTTP status.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$code | (int) | 必需 | HTTP状态代码。 |
返回(Return)
(string)状态描述如果找到,则为空string。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.1.0 | wp-includes/functions.php:1294 | 5 | 1 function |
get_status_header_desc() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_status_header_desc/