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.
Source
File: wp-includes/embed.php
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |