WordPress at a glance
filter is not described

wp_video_shortcode_class filter-hook . WP 3.6.0

Filters the class attribute for the video shortcode output container.

Usage

add_filter( 'wp_video_shortcode_class', 'filter_function_name_7981', 10, 2 );
function filter_function_name_7981( $class, $atts ){
	// filter...

	return $class;
}
$class(string)
CSS class or list of space-separated classes.
$atts(array)
Array of video shortcode attributes.

Notes

  • Since 4.9.0 The $atts parameter was added.

Where the hook is called

wp_video_shortcode()
wp-includes/media.php 2577
$atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'], $atts );

Where the hook is used (in WP core)

Does not used.