A WordPress-centric search engine for devs and theme authors



embed_oembed_html ›

Since2.9.0
Deprecatedn/a
apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_ID )
Parameters: (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
See:
  • WP_Embed::shortcode()
Defined at:
Codex:

Filters the cached oEmbed HTML.





Source

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