W3cubDocs

/WordPress

apply_filters( 'oembed_fetch_url', string $provider, string $url, array $args )

Filters the oEmbed URL to be fetched.

Parameters

$provider

(string) URL of the oEmbed provider.

$url

(string) URL of the content to be embedded.

$args

(array) arguments, usually passed from a shortcode.

Source

File: wp-includes/class-wp-oembed.php

View on Trac

Changelog

Version Description
4.9.0 The dnt (Do Not Track) query parameter was added to all oEmbed provider URLs.
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_fetch_url