get_oembed_response_data_for_url

SummerySummery

Retrieves the oEmbed response data for a given URL.

Syntax

get_oembed_response_data_for_url( string $url, array $args )

ParametersParameters

$url

(string) (Required) The URL that should be inspected for discovery <link> tags.

$args

(array) (Required) oEmbed remote get arguments.

ReturnReturn

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

SourceSource

File: wp-includes/embed.php


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top