requests-{$hook}

Advertisement

Summery Summery

Transforms a native Request hook to a WordPress actions.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$parameters

(array) Parameters from Requests internal hook.

$request

(array) Request data in WP_Http format.

$url

(string) URL to request.

Source Source

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

Advertisement

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.