Requests_IRI::__toString() WordPress Method

The IRI class provides a __toString() method, which returns the IRI as a string. The string is encoded in UTF-8.

Requests_IRI::__toString() #

Return the entire IRI when you try and read the object as a string


Return

(string)


Top ↑

Source

File: wp-includes/Requests/IRI.php

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

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.