[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
HTTP API: Requests hook bridge class
File Size: | 79 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_HTTP_Requests_Hooks:: (2 methods):
__construct()
dispatch()
Class: WP_HTTP_Requests_Hooks - X-Ref
Bridge to connect Requests internal hooks to WordPress actions.__construct( $url, $request ) X-Ref |
Constructor. 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 Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |