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 all references
$attr['discover'] = apply_filters( 'embed_oembed_discover', true );
Changelog
Version | Description |
---|---|
4.4.0 | The default value changed to true. |
2.9.0 | Introduced. |