WordPress开发者和主题制作者的搜索引擎



http_request_version ›

Since5.1.0
已弃用n/a
apply_filters( 'http_request_version', '1.0', $url )
参数: (2)
  • (string) $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
定义在:
文档:

Filters the version of the HTTP protocol used in a request.





源码

'httpversion'         => apply_filters( 'http_request_version', '1.0', $url ),