On this page
apply_filters( 'oembed_endpoint_url', string $url, string $permalink, string $format )
Filters the oEmbed endpoint URL.
Parameters
$urlstring-
The URL to the oEmbed endpoint.
$permalinkstring-
The permalink used for the
urlquery arg. $formatstring-
The requested response format.
Source
File: wp-includes/embed.php. View all references
return apply_filters( 'oembed_endpoint_url', $url, $permalink, $format );
Related
Used By
| Used By | Description |
|---|---|
| get_oembed_endpoint_url() wp-includes/embed.php | Retrieves the oEmbed endpoint URL for a given permalink. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_endpoint_url