WordPress at a glance
filter is not described

oembed_fetch_url filter-hook . WP 2.9.0

Filters the oEmbed URL to be fetched.


add_filter( 'oembed_fetch_url', 'filter_function_name_8824', 10, 3 );
function filter_function_name_8824( $provider, $url, $args ){
	// filter...

	return $provider;
URL of the oEmbed provider.
URL of the content to be embedded.
Optional arguments, usually passed from a shortcode.


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

Where the hook is called

wp-includes/class-oembed.php 531
$provider = apply_filters( 'oembed_fetch_url', $provider, $url, $args );

Where the hook is used (in WP core)

Usage not found!