Used By
Used By | Description |
---|---|
wp-includes/class-wp-oembed-controller.php: WP_oEmbed_Controller::get_proxy_item() | Callback for the proxy API endpoint. |
Filters the oEmbed TTL value (time to live).
Similar to the ‘oembed_ttl’ filter, but for the REST API oEmbed proxy endpoint.
(int) Time to live (in seconds).
(string) The attempted embed URL.
(array) An array of embed request arguments.
Version | Description |
---|---|
4.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_oembed_ttl