wp_remote_retrieve_cookie_value


wp_remote_retrieve_cookie_value ( $response, $name )

Parameters:
  • (array|WP_Error) response HTTP response.
  • (string) name The name of the cookie to retrieve.
Returns:
  • (string) The value of the cookie, or empty string if the cookie is not present in the response.
Defined at:

Description

Retrieves a single cookie's value by name from the raw response.

Related Functions

wp_remote_retrieve_cookie, wp_remote_retrieve_cookies, wp_remote_retrieve_header, wp_remote_retrieve_headers, wp_remote_retrieve_body

Top Google Results

User discussions

wpseek mobile