apply_filters( ‘wp_video_shortcode_class’, string $class, array $atts )

In this article

Filters the class attribute for the video shortcode output container.

Parameters

$classstring
CSS class or list of space-separated classes.
$attsarray
Array of video shortcode attributes.

Source

if ( $is_vimeo ) {

Changelog

VersionDescription
4.9.0The $atts parameter was added.
3.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.