Requests_Cookie_Jar::__construct()publicWP 1.0

Create a new jar

{} It's a method of the class: Requests_Cookie_Jar{}

No Hooks.

Return

null. Nothing.

Usage

$Requests_Cookie_Jar = new Requests_Cookie_Jar();
$Requests_Cookie_Jar->__construct( $cookies );
$cookies(array)
Existing cookie values
Default: array()

Code of Requests_Cookie_Jar::__construct() WP 6.0

public function __construct($cookies = array()) {
	$this->cookies = $cookies;
}