rest_oembed_ttl

过滤器::过滤oEmbed TTL值(生存时间)。

apply_filters ( ‘rest_oembed_ttl’, int $time , string $url , array $args )

说明(Description)

类似于’oembed_ttl’过滤器,但对于REST API oembed代理端点。


参数(Parameters)

参数类型说明
$time(int)生存时间(秒)。
$url(string)尝试嵌入的URL。
$args(array)嵌入请求参数的数组。

源码(Source)

//暂无收集
更新版本源码位置使用被使用
4.8.0wp-includes/class-wp-oembed-controller.php:21210
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索