oembed_discovery_links WordPress Filter Hook

The oembed_discovery_links hook is used to filter the list of URL patterns that are checked for oEmbed discovery. This hook is useful for plugins that want to add their own oEmbed discovery URL patterns.

apply_filters( 'oembed_discovery_links', string $output ) #

Filters the oEmbed discovery links HTML.


Parameters

$output

(string)HTML of the discovery links.


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.