apply_filters( 'oembed_ttl', int $time, string $url, array $attr, int $post_ID )

Filters the oEmbed TTL value (time to live).

Parameters Parameters


(int) Time to live (in seconds).


(string) The attempted embed URL.


(array) An array of shortcode attributes.


(int) Post ID.

Top ↑

Source Source

File: wp-includes/class-wp-embed.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.