WordPress at a glance
filter is not described

oembed_ttl filter-hook . WP 4.0.0

Filters the oEmbed TTL value (time to live).

Usage

add_filter( 'oembed_ttl', 'filter_function_name_3751', 10, 4 );
function filter_function_name_3751( $time, $url, $attr, $post_ID ){
	// filter...

	return $time;
}
$time(int)
Time to live (in seconds).
$url(string)
The attempted embed URL.
$attr(array)
An array of shortcode attributes.
$post_ID(int)
Post ID.

Where the hook is called

WP_Embed::shortcode()
wp-includes/class-wp-embed.php 211
$ttl = apply_filters( 'oembed_ttl', DAY_IN_SECONDS, $url, $attr, $post_ID );

Where the hook is used (in WP core)

Does not used.