wpseek.com
A WordPress-centric search engine for devs and theme authors



embed_oembed_html › WordPress Filter Hooks

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

Filters the cached oEmbed HTML.





Source

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