WpOrg\Requests
Iri::set_fragment()
Set the ifragment.
Method of the class: Iri{}
No Hooks.
Return
true|false
.
Usage
// protected - for code of main (parent) or child class $result = $this->set_fragment( $ifragment );
- $ifragment(string) (required)
- -
Iri::set_fragment() Iri::set fragment code WP 6.6.2
protected function set_fragment($ifragment) { if ($ifragment === null) { $this->ifragment = null; } else { $this->ifragment = $this->replace_invalid_with_pct_encoding($ifragment, '!$&\'()*+,;=:@/?'); $this->scheme_normalization(); } return true; }