wp_remote_retrieve_response_message

Advertisement

Summery Summery

Retrieve only the response message from the raw response.

Syntax Syntax

wp_remote_retrieve_response_message( array|WP_Error $response )

Description Description

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

Parameters Parameters

$response

(array|WP_Error) (Required) HTTP response.

Return Return

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

Source Source

File: wp-includes/http.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.