Filter hook 'embed_oembed_discover'

in WP Core File wp-includes/class-wp-embed.php at line 305

Description

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

Occurrences

Filename Line Number
wp-includes/class-wp-embed.php 305

Parameters

Type Name Description
bool $enable Whether to enable `` tag discovery. Default true.

PHP Doc

/**
		 * Filters whether to inspect the given URL for discoverable link tags.
		 *
		 * @since 2.9.0
		 * @since 4.4.0 The default value changed to true.
		 *
		 * @see WP_oEmbed::discover()
		 *
		 * @param bool $enable Whether to enable `` tag discovery. Default true.
		 */