apply_filters( 'rest_oembed_ttl', int $time , string $url , array $args )
Filters the oEmbed TTL value (time to live).
Description
Similar to the ‘oembed_ttl’ filter, but for the REST API oEmbed proxy endpoint.
Parameters
- $time
-
Time to live (in seconds).
- $url
-
The attempted embed URL.
- $args
-
An array of embed request arguments.
Source
Changelog
Version | Description |
---|---|
WP-4.8.0 | Introduced. |