WordPress at a glance
filter is not described

wp_embed_handler_youtube filter-hook . WP 4.0.0

Filters the YoutTube embed output.


add_filter( 'wp_embed_handler_youtube', 'filter_function_name_6152', 10, 4 );
function filter_function_name_6152( $embed, $attr, $url, $rawattr ){
	// filter...

	return $embed;
YouTube embed output.
An array of embed attributes.
The original URL that was matched by the regex.
The original unmodified attributes.

Where the hook is called

wp-includes/embed.php 245
return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr );

Where the hook is used (in WP core)

Использование не найдено.