A WordPress-centric search engine for devs and theme authors



wp_audio_shortcode_class ›

Since4.9.0
Deprecatedn/a
apply_filters( 'wp_audio_shortcode_class', $atts['class'], $atts )
Parameters: (2)
  • (string) $class CSS class or list of space-separated classes.
    Required: Yes
  • (array) $atts Array of audio shortcode attributes.
    Required: Yes
Defined at:
Codex:

Filters the class attribute for the audio shortcode output container.





Source

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