Requests_IRI::set_fragment

Advertisement

Summery Summery

Set the ifragment.

Syntax Syntax

Requests_IRI::set_fragment( string $ifragment )

Parameters Parameters

$ifragment

(string) (Required)

Return Return

(bool)

Source Source

File: wp-includes/Requests/IRI.php

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

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.