Core Function
View Source on Trac ↗ wp_remote_retrieve_body()
wp_remote_retrieve_body( mixed $response ) Retrieves only the body from the raw response.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (array | | WP_Error) $response HTTP response. Required |
Return Value
(string)
The body of the response. Empty string if no body or incorrect parameter given.
Function Information
Since Version
2.7.0
Source File
wp-includes/http.php
Advertisement