apply_filters( 'oembed_ttl', int $time , string $url , array $attr , int $post_ID )
Filters the oEmbed TTL value (time to live).
Parameters
- $time
-
Time to live (in seconds).
- $url
-
The attempted embed URL.
- $attr
-
An array of shortcode attributes.
- $post_ID
-
Post ID.
Source
Changelog
Version | Description |
---|---|
WP-4.0.0 | Introduced. |