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

In this article

Filters the output of the video shortcode.

Parameters

$outputstring
Video shortcode HTML output.
$attsarray
Array of video shortcode attributes.
$videostring
Video file.
$post_idint
Post ID.
$librarystring
Media library used for the video shortcode.

Source

* @param int    $post_id Post ID.

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

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