W3cubDocs

/WordPress

Requests_Cookie_Jar::__construct( array $cookies = array() )

Create a new jar

Parameters

$cookies

(array) (Optional) Existing cookie values

Default value: array()

Source

File: wp-includes/Requests/Cookie/Jar.php

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_cookie_jar/__construct