W3cubDocs

/WordPress

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 url query arg.
$formatstring
The requested response format.

Source

return apply_filters( 'oembed_endpoint_url', $url, $permalink, $format );

Changelog

Version Description
4.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_endpoint_url