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



rest_url_details_http_request_args › WordPress过滤钩子

Since5.9.0
已弃用n/a
apply_filters( 'rest_url_details_http_request_args', $args, $url )
参数: (2)
  • (array) $args Arguments used for the HTTP request.
    Required: Yes
  • (string) $url The attempted URL.
    Required: Yes
定义在:
文档:

Filters the HTTP request args for URL data retrieval.

Can be used to adjust response size limit and other WP_Http::request() args.





源码

$args = apply_filters( 'rest_url_details_http_request_args', $args, $url );