oembed_endpoint_url WordPress Filter Hook
The oembed_endpoint_url Wordpress hook allows you to change the URL of the oEmbed provider. This can be useful if you want to use a different provider or if the provider you want to use requires a different URL.
apply_filters( 'oembed_endpoint_url', string $url , string $permalink , string $format ) #
Filters the oEmbed endpoint URL.
Parameters
- $url
(string)The URL to the oEmbed endpoint.
- $permalink
(string)The permalink used for the
url
query arg.- $format
(string)The requested response format.
Source
File: wp-includes/embed.php
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |