SimplePie_XML_Declaration_Parser::get_value()publicWP 1.0

Read value

{} Это метод класса: SimplePie_XML_Declaration_Parser{}

Хуков нет.

Возвращает

null. Ничего.

Использование

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

Код SimplePie_XML_Declaration_Parser::get_value() WP 6.0.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;
}