WordPress at Your Fingertips
function is not described

SimplePie_Misc::element_implode() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$result = SimplePie_Misc::element_implode( $element );
$element (required)
-

Code of SimplePie_Misc::element_implode() WP 5.8.2

public static function element_implode($element)
{
	$full = "<$element[tag]";
	foreach ($element['attribs'] as $key => $value)
	{
		$key = strtolower($key);
		$full .= " $key=\"" . htmlspecialchars($value['data'], ENT_COMPAT, 'UTF-8') . '"';
	}
	if ($element['self_closing'])
	{
		$full .= ' />';
	}
	else
	{
		$full .= ">$element[content]</$element[tag]>";
	}
	return $full;
}