Definition:
function wp_remote_retrieve_body(&$response) {}
Retrieve only the body from the raw response.
Parameters
- array $response: HTTP response.
- &$response
Return values
returns:The body of the response. Empty string if no body or incorrect parameter given.
Source code
function wp_remote_retrieve_body(&$response) { if ( is_wp_error($response) || ! isset($response['body']) ) return ''; return $response['body']; }
4043
No comments yet... Be the first to leave a reply!