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



http_response ›

Since2.9.0
已弃用n/a
apply_filters( 'http_response', $response, $parsed_args, $url )
参数: (3)
  • (array) $response HTTP response.
    Required: Yes
  • (array) $parsed_args HTTP request arguments.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
定义在:
文档:

Filters the HTTP API response immediately before the response is returned.





源码

return apply_filters( 'http_response', $response, $parsed_args, $url );