Description
Filters the oEmbed URL to be fetched.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-oembed.php | 551 |
Parameters
Type | Name | Description |
---|---|---|
string | $provider | URL of the oEmbed provider. |
string | $url | URL of the content to be embedded. |
array | $args | Optional. Additional arguments for retrieving embed HTML. See wp_oembed_get() for accepted arguments. Default empty. |
PHP Doc
/**
* Filters the oEmbed URL to be fetched.
*
* @since 2.9.0
* @since 4.9.0 The `dnt` (Do Not Track) query parameter was added to all oEmbed provider URLs.
*
* @param string $provider URL of the oEmbed provider.
* @param string $url URL of the content to be embedded.
* @param array $args Optional. Additional arguments for retrieving embed HTML.
* See wp_oembed_get() for accepted arguments. Default empty.
*/