apply_filters( 'oembed_fetch_url', string $provider , string $url , array $args )
Filters the oEmbed URL to be fetched.
Description Description
Parameters Parameters
- $provider
-
(string) URL of the oEmbed provider.
- $url
-
(string) URL of the content to be embedded.
- $args
-
(array) arguments, usually passed from a shortcode.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.9.0 | The dnt (Do Not Track) query parameter was added to all oEmbed provider URLs. |
2.9.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
WordPress actually caches the oembed results, so if you’re using this but not seeing it take effect immediately, try clearing those out like this: https://siteorigin.com/clearing-oembed-cache/