过滤缓存的oEmbed HTML。
原型
apply_filters( 'embed_oembed_html', mixed $cache, string $url, array $attr, int $post_ID )
参数
$cache
(mixed)
缓存的HTML结果,存储在post meta中。
$url
(string)
尝试嵌入URL。
$attr
(array)
一组短代码属性。
$post_ID
(int)
帖子ID。
源文件
路径:wp-includes/class-wp-embed.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/embed_oembed_html/