Description
Filters the HTTP request args for URL data retrieval. Can be used to adjust response size limit and other WP_Http::request() args.
Occurrences
Filename | Line Number |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php | 252 |
Parameters
Type | Name | Description |
---|---|---|
array | $args | Arguments used for the HTTP request. |
string | $url | The attempted URL. |
PHP Doc
/**
* Filters the HTTP request args for URL data retrieval.
*
* Can be used to adjust response size limit and other WP_Http::request() args.
*
* @since 5.9.0
*
* @param array $args Arguments used for the HTTP request.
* @param string $url The attempted URL.
*/