WordPress at Your Fingertips
function is not described

SimplePie_XML_Declaration_Parser::encoding_value() public WP 1.0

{} 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->encoding_value();

Code of SimplePie_XML_Declaration_Parser::encoding_value() WP 5.8.2

public function encoding_value()
{
	if ($this->encoding = $this->get_value())
	{
		$this->skip_whitespace();
		if ($this->has_data())
		{
			$this->state = 'standalone_name';
		}
		else
		{
			$this->state = 'emit';
		}
	}
	else
	{
		$this->state = false;
	}
}