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

In this article

Filters the audio shortcode output.

Parameters

$htmlstring
Audio shortcode HTML output.
$attsarray
Array of audio shortcode attributes.
$audiostring
Audio file.
$post_idint
Post ID.
$librarystring
Media library used for the audio shortcode.

Source

return apply_filters( 'wp_audio_shortcode', $html, $atts, $audio, $post_id, $library );

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.