wp_embed_handler_video WordPress Filter Hook

The wp_embed_handler_video hook is used to handle video embeds in WordPress. This hook is called when the WordPress Embed API is used to fetch and display a video.

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.


Top ↑

Source

File: wp-includes/embed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.