wpseek.com
A WordPress-centric search engine for devs and theme authors



embed_oembed_discover › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'embed_oembed_discover', true )
Parameters:
  • (bool) $enable Whether to enable `<link>` tag discovery. Default true.
    Required: Yes
Defined at:
Codex:

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





Source

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