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

return apply_filters( 'wp_video_shortcode', $output, $atts, $video, $post_id, $library );

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

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