apply_filters( 'wp_video_shortcode', string $output, array $atts, string $video, int $post_id, string $library )

Filters the output of the video shortcode.


Parameters

$output

Video shortcode HTML output.

$atts

Array of video shortcode attributes.

$video

Video file.

$post_id

Post ID.

$library

Media library used for the video shortcode.


Source

File: wp-includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.