过滤帖子类型数组以缓存oEmbed结果。
原型
apply_filters( 'embed_cache_oembed_types', array $post_types )
参数
$post_types
(array)
用于缓存oEmbed结果的帖子类型数组。默认为将show_ui设置为true的类型。
源文件
路径:wp-includes/class-wp-embed.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/embed_cache_oembed_types/