wp_get_video_extensions(): string[]

Returns a filtered list of supported video formats.

Return

string[] List of supported video formats.

Source

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

$html_atts = array(
	'class'    => $atts['class'],
	'id'       => sprintf( 'audio-%d-%d', $post_id, $instance ),
	'loop'     => wp_validate_boolean( $atts['loop'] ),
	'autoplay' => wp_validate_boolean( $atts['autoplay'] ),
	'preload'  => $atts['preload'],
	'style'    => $atts['style'],
);

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

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