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



embed_oembed_html ›

Since2.9.0
已弃用n/a
apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_ID )
参数: (4)
  • (mixed) $cache The cached HTML result, stored in post meta.
    Required: Yes
  • (string) $url The attempted embed URL.
    Required: Yes
  • (array) $attr An array of shortcode attributes.
    Required: Yes
  • (int) $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 );