wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_url_details_http_request_args › WordPress Filter Hooks

Since5.9.0
Deprecatedn/a
apply_filters( 'rest_url_details_http_request_args', $args, $url )
Parameters: (2)
  • (array) $args Arguments used for the HTTP request.
    Required: Yes
  • (string) $url The attempted URL.
    Required: Yes
Defined at:
Codex:

Filters the HTTP request args for URL data retrieval.

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





Source

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