embed_oembed_discover WordPress Filter Hook
This hook is called when an oEmbed provider is discovered. The first parameter is the URL of the content that was discovered. The second parameter is the array of oEmbed provider data.
apply_filters( 'embed_oembed_discover', bool $enable ) #
Filters whether to inspect the given URL for discoverable link tags.
Description
See also
Parameters
- $enable
(bool)Whether to enable
<link>
tag discovery. Default true.
Source
Changelog
Version | Description |
---|---|
4.4.0 | The default value changed to true. |
2.9.0 | Introduced. |