W3cubDocs

/WordPress

apply_filters( 'wp_video_shortcode_class', string $class, array $atts )

Filters the class attribute for the video shortcode output container.

Description

Parameters

$class

(string) CSS class or list of space-separated classes.

$atts

(array) Array of video shortcode attributes.

Source

File: wp-includes/media.php

View on Trac

Changelog

Version Description
4.9.0 The $atts parameter was added.
3.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_video_shortcode_class