Filter hook 'wp_video_shortcode'

in WP Core File wp-includes/media.php at line 3694

Description

Filters the output of the video shortcode.

Occurrences

Filename Line Number
wp-includes/media.php 3694

Parameters

Type Name Description
string $output Video shortcode HTML output.
array $atts Array of video shortcode attributes.
string $video Video file.
int $post_id Post ID.
string $library Media library used for the video shortcode.

PHP Doc

/**
	 * Filters the output of the video shortcode.
	 *
	 * @since 3.6.0
	 *
	 * @param string $output  Video shortcode HTML output.
	 * @param array  $atts    Array of video shortcode attributes.
	 * @param string $video   Video file.
	 * @param int    $post_id Post ID.
	 * @param string $library Media library used for the video shortcode.
	 */