On this page
apply_filters( 'embed_oembed_discover', bool $enable )
Filters whether to inspect the given URL for discoverable link tags.
Description
See also
Parameters
$enablebool-
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 );
Related
Used By
| Used By | Description |
|---|---|
| WP_Embed::shortcode() wp-includes/class-wp-embed.php | The do_shortcode() callback function. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/embed_oembed_discover