wp_video_shortcode

Advertisement

Summery Summery

Filters the output of the video shortcode.

Syntax Syntax

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

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

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply