wp_remote_retrieve_cookies

Advertisement

Summery Summery

Retrieve only the cookies from the raw response.

Syntax Syntax

wp_remote_retrieve_cookies( array|WP_Error $response )

Parameters Parameters

$response

(array|WP_Error) (Required) HTTP response.

Return Return

(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.

Source Source

File: wp-includes/http.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

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