Requests_IRI::set_query() WordPress Method
The set_query() method of the Requests_IRI class is used to set the query string of an IRI.
Requests_IRI::set_query( string $iquery ) #
Set the iquery.
Parameters
- $iquery
(string)(Required)
Return
(bool)
Source
File: wp-includes/Requests/IRI.php
protected function set_query($iquery) {
if ($iquery === null) {
$this->iquery = null;
}
else {
$this->iquery = $this->replace_invalid_with_pct_encoding($iquery, '!$&\'()*+,;=:@/?', true);
$this->scheme_normalization();
}
return true;
}
Expand full source codeCollapse full source codeView on TracView on GitHub