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