wp_embed_handler_youtube

Advertisement

Summery Summery

Filters the YoutTube embed output.

Syntax Syntax

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

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.

Source Source

File: wp-includes/embed.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.