Oembed::get_oembed_from_url
Takes the human-readable URL of an embeddable resource and converts it into an Oembed_Result descriptor (which contains a full Oembed resource URL).
Signature
public function get_oembed_from_url(Human-readable
$url,
[boolean
$type = false,
[array
$options = ]] )
Parameters
$url
—
object
- URL
$type
—
boolean
$options
—
array
- Options to be used for constructing the resulting descriptor.