wp_audio_shortcode_class

Advertisement

Summery Summery

Filters the class attribute for the audio shortcode output container.

Syntax Syntax

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

Parameters Parameters

$class

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

$atts

(array) Array of audio shortcode attributes.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.