WordPress at Your Fingertips
filter is not described

wp_audio_shortcode_override filter-hook . WP 3.6.0

Filters the default audio shortcode output.

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


add_filter( 'wp_audio_shortcode_override', 'filter_function_name_3080', 10, 4 );
function filter_function_name_3080( $html, $attr, $content, $instance ){
	// filter...

	return $html;
Empty variable to be replaced with shortcode markup.
Attributes of the shortcode. @see wp_audio_shortcode()
Shortcode content.
Unique numeric ID of this audio shortcode instance.

Where the hook is called

wp-includes/media.php 2941
$override = apply_filters( 'wp_audio_shortcode_override', '', $attr, $content, $instance );

Where in WP core the hook is used WordPress

Usage not found.