Filter hook 'oembed_ttl'

in WP Core File wp-includes/class-wp-embed.php at line 249

Description

Filters the oEmbed TTL value (time to live).

Occurrences

Filename Line Number
wp-includes/class-wp-embed.php 249

Parameters

Type Name Description
int $time Time to live (in seconds).
string $url The attempted embed URL.
array $attr An array of shortcode attributes.
int $post_id Post ID.

PHP Doc

/**
		 * Filters the oEmbed TTL value (time to live).
		 *
		 * @since 4.0.0
		 *
		 * @param int    $time    Time to live (in seconds).
		 * @param string $url     The attempted embed URL.
		 * @param array  $attr    An array of shortcode attributes.
		 * @param int    $post_id Post ID.
		 */