apply_filters( ‘rest_url_details_http_request_args’, array $args, string $url )

In this article

Filters the HTTP request args for URL data retrieval.

Description

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

Parameters

$argsarray
Arguments used for the HTTP request.
$urlstring
The attempted URL.

Source

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

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

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