WPDev.one
Core Function
View Source on Trac ↗

get_oembed_response_data_for_url()

get_oembed_response_data_for_url( mixed $url, mixed $args )

Retrieves the oEmbed response data for a given URL.

Parameters 2 required

Name / Type Description
$url
string

The URL that should be inspected for discovery `<link>` tags.

Required
$args
array

oEmbed remote get arguments.

Required

Return Value

((object)
| false) oEmbed response data if the URL does belong to the current site. False otherwise.

Function Information

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