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

}

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

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