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

In this article

Filters the default audio shortcode output.

Description

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

Parameters

$htmlstring
Empty variable to be replaced with shortcode markup.
$attrarray
Attributes of the shortcode. See wp_audio_shortcode().
$contentstring
Shortcode content.
$instanceint
Unique numeric ID of this audio shortcode instance.

Source


Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

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