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

In this article

Filters the class attribute for the audio shortcode output container.

Parameters

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

Source

* @param string  $context    The context. Accepts 'edit', 'display'. Default 'display'.

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.