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

In this article

Filters the video embed output.

Parameters

$videostring
Video embed output.
$attrarray
An array of embed attributes.
$urlstring
The original URL that was matched by the regex.
$rawattrarray
The original unmodified attributes.

Source

return apply_filters( 'wp_embed_handler_video', $video, $attr, $url, $rawattr );

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

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