Requests_IRI::get_uri() WordPress Method

The get_uri() method of the Requests_IRI class is used to retrieve the URI of the current request. This is useful for getting the full URL of the current page, including the query string.

Requests_IRI::get_uri() #

Get the complete URI


Return

(string)


Top ↑

Source

File: wp-includes/Requests/IRI.php

	protected function get_uri() {
		return $this->to_uri($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.