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

Filters the output of the video shortcode.


Parameters 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.


Top ↑

Source Source

File: wp-includes/media.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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