wp_remote_retrieve_response_message

SummerySummery

Retrieve only the response message from the raw response.

Syntax

wp_remote_retrieve_response_message( array|WP_Error $response )

DescriptionDescription

Will return an empty array if incorrect parameter value is given.

ParametersParameters

$response

(array|WP_Error) (Required) HTTP response.

ReturnReturn

(string) The response message. Empty string on incorrect parameter given.

SourceSource

File: wp-includes/http.php


			

ChangelogChangelog

Changelog
Version Description
2.7.0 Introduced.
Scroll to Top