W3cubDocs

/WordPress

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

File: wp-includes/class-wp-embed.php

View on Trac

Changelog

Version Description
4.4.0 The default value changed to true.
2.9.0 Introduced.

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