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



embed_oembed_html › WordPress过滤钩子

Since2.9.0
已弃用n/a
› apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_id )
参数: (4)
  • () cache The cached HTML result, stored in post meta.
    Required: Yes
  • () url The attempted embed URL.
    Required: Yes
  • () attr An array of shortcode attributes.
    Required: Yes
  • () post_id Post ID.
    Required: Yes
查看:
  • WP_Embed::shortcode()
定义在:
文档:

Filters the cached oEmbed HTML.





源码

return apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_id );