apply_filters( 'wp_audio_shortcode', string $html, array $atts, string $audio, int $post_id, string $library )

Filters the audio shortcode output.


Parameters

$html

Audio shortcode HTML output.

$atts

Array of audio shortcode attributes.

$audio

Audio file.

$post_id

Post ID.

$library

Media library used for the audio shortcode.


Source

File: wp-includes/media.php

View on GitHub


Changelog

Changelog
Version Description
WP-3.6.0 Introduced.