wp_remote_retrieve_cookies


wp_remote_retrieve_cookies ( $response )

Parameters:
  • (array|WP_Error) response HTTP response.
Returns:
  • (WP_Http_Cookie[]) 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

Retrieves 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