WordPress at Your Fingertips
function is not described

SimplePie_Parser::tag_close() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Parser = new SimplePie_Parser();
$SimplePie_Parser->tag_close( $parser, $tag );
$parser (required)
-
$tag (required)
-

Code of SimplePie_Parser::tag_close() WP 5.8.2

public function tag_close($parser, $tag)
{
	if ($this->current_xhtml_construct >= 0)
	{
		$this->current_xhtml_construct--;
		if (end($this->namespace) === SIMPLEPIE_NAMESPACE_XHTML && !in_array(end($this->element), array('area', 'base', 'basefont', 'br', 'col', 'frame', 'hr', 'img', 'input', 'isindex', 'link', 'meta', 'param')))
		{
			$this->data['data'] .= '</' . end($this->element) . '>';
		}
	}
	if ($this->current_xhtml_construct === -1)
	{
		$this->data =& $this->datas[count($this->datas) - 1];
		array_pop($this->datas);
	}

	array_pop($this->element);
	array_pop($this->namespace);
	array_pop($this->xml_base);
	array_pop($this->xml_base_explicit);
	array_pop($this->xml_lang);
}