apply_filters( 'wp_embed_handler_youtube', string $embed, array $attr, string $url, array $rawattr )

Filters the YoutTube embed output.


Description

See also


Parameters

$embed

YouTube embed output.

$attr

An array of embed attributes.

$url

The original URL that was matched by the regex.

$rawattr

The original unmodified attributes.


Source

File: wp-includes/embed.php

View on GitHub



Changelog

Changelog
Version Description
4.0.0 Introduced.