apply_filters( 'wp_audio_shortcode_override', string $html, array $attr, string $content, int $instance )

Filters the default audio shortcode output.

Description Description

If the filtered output isn’t empty, it will be used instead of generating the default audio template.

Parameters Parameters


(string) Empty variable to be replaced with shortcode markup.


(array) Attributes of the shortcode. @see wp_audio_shortcode()


(string) Shortcode content.


(int) Unique numeric ID of this audio shortcode instance.

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.