WordPress at a glance
filter is not described

oembed_ttl filter-hook . WP 4.0.0

Filters the oEmbed TTL value (time to live).


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

	return $time;
Time to live (in seconds).
The attempted embed URL.
An array of shortcode attributes.
Post ID.

Where the hook is called

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

Where the hook is used (in WP core)

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