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.


Top ↑

Source

File: wp-includes/embed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.