[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-includes/ -> class-wp-http-requests-hooks.php (summary)

HTTP API: Requests hook bridge class

File Size: 76 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_HTTP_Requests_Hooks:: (2 methods):

Class: WP_HTTP_Requests_Hooks  - X-Ref

Bridge to connect Requests internal hooks to WordPress actions.

__construct( $url, $request )   X-Ref

param: string $url URL to request.
param: array $request Request data in WP_Http format.

dispatch( $hook, $parameters = array()   X-Ref
Dispatch a Requests hook to a native WordPress action.

param: string $hook Hook name.
param: array $parameters Parameters to pass to callbacks.
return: boolean True if hooks were run, false if nothing was hooked.

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1