WordPress at a glance
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_3072', 10, 4 );
function filter_function_name_3072( $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.

Список изменений

С версии 3.6.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.