WordPress at Your Fingertips
function is not described

SimplePie_IRI::set_fragment() public WP 1.0

Set the ifragment.

{} It's a method of the class: SimplePie_IRI{}

No Hooks.

Return

true|false.

Usage

$SimplePie_IRI = new SimplePie_IRI();
$SimplePie_IRI->set_fragment( $ifragment );
$ifragment(string) (required)
-

Code of SimplePie_IRI::set_fragment() WP 5.8.2

public 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;
}