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



oembed_fetch_url › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'oembed_fetch_url', $provider, $url, $args )
Parameters: (3)
  • () provider URL of the oEmbed provider.
    Required: Yes
  • () url URL of the content to be embedded.
    Required: Yes
  • () args Optional. Additional arguments for retrieving embed HTML. See wp_oembed_get() for accepted arguments. Default empty.
    Required: Yes
Defined at:
Codex:

Filters the oEmbed URL to be fetched.





Source

$provider = apply_filters( 'oembed_fetch_url', $provider, $url, $args );