On this page
apply_filters( 'wp_audio_shortcode_class', string $class, array $atts )
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
File: wp-includes/media.php. View all references
$atts['class'] = apply_filters( 'wp_audio_shortcode_class', $atts['class'], $atts );
Related
Used By
| Used By | Description |
|---|---|
| wp_audio_shortcode() wp-includes/media.php | Builds the Audio shortcode output. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_audio_shortcode_class