apply_filters( 'wp_video_shortcode_class', string $class , array $atts )
Filters the class attribute for the video shortcode output container.
Parameters
- $class
-
CSS class or list of space-separated classes.
- $atts
-
Array of video shortcode attributes.
Source
File: wp-includes/media.php
Changelog
Version | Description |
---|---|
WP-4.9.0 | The $atts parameter was added. |
WP-3.6.0 | Introduced. |