Filter hook 'wp_embed_handler_youtube'

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

Description

Filters the YouTube embed output.

Occurrences

Filename Line Number
wp-includes/embed.php 258

Parameters

Type Name Description
string $embed YouTube embed output.
array $attr An array of embed attributes.
string $url The original URL that was matched by the regex.
array $rawattr The original unmodified attributes.

PHP Doc

/**
	 * Filters the YouTube embed output.
	 *
	 * @since 4.0.0
	 *
	 * @see wp_embed_handler_youtube()
	 *
	 * @param string $embed   YouTube embed output.
	 * @param array  $attr    An array of embed attributes.
	 * @param string $url     The original URL that was matched by the regex.
	 * @param array  $rawattr The original unmodified attributes.
	 */