WordPress at a glance
filter is not described

oembed_fetch_url filter-hook . WP 2.9.0

Filters the oEmbed URL to be fetched.

Usage

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

	return $provider;
}
$provider(string)
URL of the oEmbed provider.
$url(string)
URL of the content to be embedded.
$args(array)
Optional arguments, usually passed from a shortcode.

Список изменений

С версии 2.9.0 Введена.
С версии 4.9.0 The dnt (Do Not Track) query parameter was added to all oEmbed provider URLs.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.