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

Filters the class attribute for the video shortcode output container.


Description Description


Parameters Parameters

$class

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

$atts

(array) Array of video shortcode attributes.


Top ↑

Source Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog Changelog

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


Top ↑

User Contributed Notes User Contributed Notes

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