WordPress at Your Fingertips
function is not described

SimplePie_XML_Declaration_Parser::get_value() public WP 1.0

Read value

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

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_XML_Declaration_Parser = new SimplePie_XML_Declaration_Parser();
$SimplePie_XML_Declaration_Parser->get_value();

Code of SimplePie_XML_Declaration_Parser::get_value() WP 5.8.2

public function get_value()
{
	$quote = substr($this->data, $this->position, 1);
	if ($quote === '"' || $quote === "'")
	{
		$this->position++;
		$len = strcspn($this->data, $quote, $this->position);
		if ($this->has_data())
		{
			$value = substr($this->data, $this->position, $len);
			$this->position += $len + 1;
			return $value;
		}
	}
	return false;
}