Function: _oembed_create_xml

_oembed_create_xml( array $data, SimpleXMLElement $node )

Creates an XML string from a given array.


Name Type(s) Default Value Description
$data array

The original oEmbed response data.

$node \SimpleXMLElement null

Optional. XML node to append the result to recursively.


string | false

XML string on success, false on error.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.