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

Filters the audio shortcode output.

Description Description

Parameters Parameters


(string) Audio shortcode HTML output.


(array) Array of audio shortcode attributes.


(string) Audio file.


(int) Post ID.


(string) Media library used for the audio shortcode.

Top ↑

Source Source

File: wp-includes/media.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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