W3cubDocs

/WordPress

apply_filters( 'wp_embed_handler_video', string $video, array $attr, string $url, array $rawattr )

Filters the video embed output.

Parameters

$video

(string) Video 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

File: wp-includes/embed.php

View on Trac

Changelog

Version Description
3.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_embed_handler_video