Filter hook 'wp_video_shortcode_override'

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

Description

Filters the default video shortcode output. If the filtered output isn't empty, it will be used instead of generating the default video template.

Occurrences

Filename Line Number
wp-includes/media.php 3477

Parameters

Type Name Description
string $html Empty variable to be replaced with shortcode markup.
array $attr Attributes of the shortcode. See {@see wp_video_shortcode()}.
string $content Video shortcode content.
int $instance Unique numeric ID of this video shortcode instance.

PHP Doc

/**
	 * Filters the default video shortcode output.
	 *
	 * If the filtered output isn't empty, it will be used instead of generating
	 * the default video template.
	 *
	 * @since 3.6.0
	 *
	 * @see wp_video_shortcode()
	 *
	 * @param string $html     Empty variable to be replaced with shortcode markup.
	 * @param array  $attr     Attributes of the shortcode. See {@see wp_video_shortcode()}.
	 * @param string $content  Video shortcode content.
	 * @param int    $instance Unique numeric ID of this video shortcode instance.
	 */