WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about oembed_fetch_url

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-oembed.php apply_filters 543 /**
* 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.
*/

Hook Parameters

Parameter 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.