[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





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

HTTP API: Requests hook bridge class

File Size: 78 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: bool True if hooks were run, false if nothing was hooked.

Generated : Thu Jan 21 08:20:02 2021 Cross-referenced by PHPXref