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

Filters the audio shortcode output.


Parameters

$html string
Audio shortcode HTML output.
$atts array
Array of audio shortcode attributes.
$audio string
Audio file.
$post_id int
Post ID.
$library string
Media library used for the audio shortcode.

Top ↑

Source

File: wp-includes/media.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes

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