WordPress at Your Fingertips
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_1274', 10, 3 );
function filter_function_name_1274( $provider, $url, $args ){
	// filter...

	return $provider;
URL of the oEmbed provider.
URL of the content to be embedded.
Optional. Additional arguments for retrieving embed HTML. See wp_oembed_get() for accepted arguments.
Default: ''


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-wp-oembed.php 536
$provider = apply_filters( 'oembed_fetch_url', $provider, $url, $args );

Where in WP core the hook is used WordPress

Usage not found.