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

Filters the YoutTube embed output.


Description Description

See also See also


Top ↑

Parameters Parameters

$embed

(string) YouTube embed output.

$attr

(array) An array of embed attributes.

$url

(string) The original URL that was matched by the regex.

$rawattr

(array) The original unmodified attributes.


Top ↑

Source Source

File: wp-includes/embed.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.