Wordpress 钩子:embed_googlevideo
文章目录
过滤Google Video嵌入输出。
原型
apply_filters( 'embed_googlevideo', string $html, array $matches, array $attr, string $url, array $rawattr )
参数
$html
(string)
Google Video HTML嵌入了标记。
$matches
(array)
RegEx与提供的正则表达式匹配。
$attr
(array)
一组嵌入属性。
$url
(string)
正则表达式匹配的原始URL。
$rawattr
(array)
原始未修改的属性。
源文件
路径:wp-includes/embed.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/embed_googlevideo/
文章作者 iBllex
上次更新 2019-02-14