wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_oembed_ttl › WordPress过滤钩子
Since4.8.0
已弃用n/a
› apply_filters( 'rest_oembed_ttl', DAY_IN_SECONDS, $url, $args )
| 参数: (3) |
|
| 定义在: | |
| 文档: |
Filters the oEmbed TTL value (time to live).
Similar to the {@see 'oembed_ttl'} filter, but for the REST API oEmbed proxy endpoint.Related Functions: get_post_embed_html, get_embed_template, get_post_embed_url, print_embed_styles, wp_oembed_get, get_oembed_endpoint_url