[ 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: 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: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7