W3cubDocs

/WordPress

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

(string) Video shortcode HTML output.

$atts

(array) Array of video shortcode attributes.

$video

(string) Video file.

$post_id

(int) Post ID.

$library

(string) Media library used for the video shortcode.

Source

File: wp-includes/media.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_video_shortcode