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.

Top ↑

See also


Top ↑

Parameters

$parameters array
Parameters from Requests internal hook.
$request array
Request data in WP_Http format.
$url string
URL to request.

Top ↑

Source

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

do_action_ref_array( "requests-{$hook}", $parameters, $this->request, $this->url ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores


Top ↑

Changelog

Changelog
Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes

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