wordpress / latest / classes / requests_cookie / __tostring.html

Requests_Cookie::__toString()

Get the cookie value

Description

Attributes and other data can be accessed via methods.

Source

File: wp-includes/Requests/Cookie.php. View all references

public function __toString() {
	return $this->value;
}

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_cookie/__tostring