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



wp_embed_handler_youtube ›

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
查看:
  • wp_embed_handler_youtube()
定义在:
文档:

Filters the YoutTube embed output.





源码

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