W3cubDocs

/WordPress

apply_filters( 'oembed_endpoint_url', string $url, string $permalink, string $format )

Filters the oEmbed endpoint URL.

Description

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

View on Trac

Changelog

Version Description
4.4.0 Introduced.

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