WordPress开发者和主题制作者的搜索引擎



wp_video_shortcode_class ›

Since4.9.0
已弃用n/a
apply_filters( 'wp_video_shortcode_class', $atts['class'], $atts )
参数: (2)
  • (string) $class CSS class or list of space-separated classes.
    Required: Yes
  • (array) $atts Array of video shortcode attributes.
    Required: Yes
定义在:
文档:

Filters the class attribute for the video shortcode output container.





源码

$atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'], $atts );