WPDev.one
Core Function
View Source on Trac ↗

_oembed_create_xml()

_oembed_create_xml( mixed $data, mixed $node = null )

Creates an XML string from a given array.

Parameters 1 required

Name / Type Description
$data
array

The original oEmbed response data.

Required
$node
SimpleXMLElement

Optional. XML node to append the result to recursively.

Return Value

((string)
| false) XML string on success, false on error.

Function Information

Since Version
4.4.0
Source File
wp-includes/embed.php
Advertisement