http_request_args WordPress Filter Hook

The http_request_args hook is called before an HTTP request is sent. It allows for modification of the arguments that will be used for the request.

apply_filters( 'http_request_args', array $parsed_args, string $url ) #

Filters the arguments used in an HTTP request.


Parameters

$parsed_args

(array)An array of HTTP request arguments.

$url

(string)The request URL.


Top ↑

Source

File: wp-includes/class-wp-http.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.