WordPress at Your Fingertips
function is not described

SimplePie_XML_Declaration_Parser::encoding_name() 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_name();

Code of SimplePie_XML_Declaration_Parser::encoding_name() WP 5.8.2

public function encoding_name()
{
	if (substr($this->data, $this->position, 8) === 'encoding')
	{
		$this->position += 8;
		$this->skip_whitespace();
		$this->state = 'encoding_equals';
	}
	else
	{
		$this->state = 'standalone_name';
	}
}