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



embed_oembed_html › WordPress过滤钩子

Since2.9.0
已弃用n/a
apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_id )
参数: (4)
  • (string|false) $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
定义在:
文档:

Filters the cached oEmbed HTML.





源码

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