Docs: Remove duplicated DocBlock for `http_response` hook in `WP_Http::_dispatch_request()`.
The filter is already documented in `WP_Http::request()`. See #42505. git-svn-id: https://develop.svn.wordpress.org/trunk@42750 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
898a267e71
commit
1bd0df76cf
|
@ -574,15 +574,7 @@ class WP_Http {
|
|||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the HTTP API response immediately before the response is returned.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param array $response HTTP response.
|
||||
* @param array $args HTTP request arguments.
|
||||
* @param string $url The request URL.
|
||||
*/
|
||||
/** This action is documented in wp-includes/class-http.php */
|
||||
return apply_filters( 'http_response', $response, $args, $url );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue