Requests_Cookie::__toString() WordPress Method

The __toString() method of the Requests_Cookie class returns a string representation of the cookie. This is useful for debugging purposes or for displaying the cookie to the user.

Requests_Cookie::__toString() #

Get the cookie value


Description

Attributes and other data can be accessed via methods.


Top ↑

Source

File: wp-includes/Requests/Cookie.php

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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.