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: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Retrieves a single cookie's value by name from the raw response.