do_action_ref_array( "requests-{$hook}", array $parameters, array $request, string $url )

Transforms a native Request hook to a WordPress action.

Description

This action maps Requests internal hook to a native WordPress action.

See also

Parameters

$parameters

(array) Parameters from Requests internal hook.

$request

(array) Request data in WP_Http format.

$url

(string) URL to request.

Source

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

View on Trac

Changelog

Version Description
4.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/requests-hook