Filters the oEmbed TTL value (time to live).
Similar to the ‘oembed_ttl’ filter, but for the REST API oEmbed proxy endpoint.
$timeint
$urlstring
$argsarray
$ttl = apply_filters( 'rest_oembed_ttl', DAY_IN_SECONDS, $url, $args );
| Version | Description |
|---|---|
| 4.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_oembed_ttl