apply_filters( 'embed_oembed_discover', bool $enable )

Filters whether to inspect the given URL for discoverable link tags.


Description

Top ↑

See also


Top ↑

Parameters

$enable bool
Whether to enable <link> tag discovery. Default true.

Top ↑

Source

File: wp-includes/class-wp-embed.php. View all references

$attr['discover'] = apply_filters( 'embed_oembed_discover', true );


Top ↑

Changelog

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

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.