apply_filters( 'rest_url_details_http_request_args', array $args, string $url )

Filters the HTTP request args for URL data retrieval.


Description

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


Top ↑

Parameters

$args array
Arguments used for the HTTP request.
$url string
The attempted URL.

Top ↑

Source

File: wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.