过滤包含oEmbed提供程序URL的链接类型。
原型
apply_filters( 'oembed_linktypes', array $format )
参数
$format
(array)
oEmbed链接类型的数组。接受’application / json oembed’,‘text / xml oembed’和’application / xml oembed’(不正确,至少由Vimeo使用)。
源文件
路径:wp-includes/class-oembed.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/oembed_linktypes/