A WordPress-centric search engine for devs and theme authors



oembed_result ›

Since2.9.0
Deprecatedn/a
apply_filters( 'oembed_result', $this->data2html( $data, $url )
Parameters: (3)
  • (string) $data The returned oEmbed HTML.
    Required: Yes
  • (string) $url URL of the content to be embedded.
    Required: Yes
  • (array) $args Optional arguments, usually passed from a shortcode.
    Required: Yes
Defined at:
Codex:

Filters the HTML returned by the oEmbed provider.





Source

return apply_filters( 'oembed_result', $this->data2html( $data, $url ), $url, $args );