WordPress at Your Fingertips
filter is not described

wp_video_shortcode_override filter-hook . WP 3.6.0

Filters the default video shortcode output.

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


add_filter( 'wp_video_shortcode_override', 'filter_function_name_7926', 10, 4 );
function filter_function_name_7926( $html, $attr, $content, $instance ){
	// filter...

	return $html;
Empty variable to be replaced with shortcode markup.
Attributes of the shortcode. @see wp_video_shortcode()
Video shortcode content.
Unique numeric ID of this video shortcode instance.


Since 3.6.0 Introduced.

Where the hook is called

wp-includes/media.php 3162
$override = apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance );

Where in WP core the hook is used WordPress

Usage not found.