WordPress at Your Fingertips
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_4012', 10, 4 );
function filter_function_name_4012( $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 258
return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr );

Where in WP core the hook is used WordPress

Usage not found.