wp_remote_retrieve_cookies


wp_remote_retrieve_cookies ( $response )

Parameters:
  • (array) $response HTTP response.
Returns:
  • (array) An array of `WP_Http_Cookie` objects from the response. Empty array if there are none, or the response is a WP_Error.
Defined at:

Description

Retrieve only the cookies from the raw response.

Related Functions

wp_remote_retrieve_cookie, wp_remote_retrieve_cookie_value, wp_remote_retrieve_body, wp_remote_retrieve_headers, wp_remote_retrieve_header

Top Google Results

User discussions

wpseek mobile