wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_embed_handler_youtube › WordPress过滤钩子

Since4.0.0
已弃用n/a
apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr )
参数: (4)
  • (string) $embed YouTube embed output.
    Required: Yes
  • (array) $attr An array of embed attributes.
    Required: Yes
  • (string) $url The original URL that was matched by the regex.
    Required: Yes
  • (array) $rawattr The original unmodified attributes.
    Required: Yes
定义在:
文档:

Filters the YouTube embed output.





源码

return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr );