Filter hook 'wp_audio_shortcode'

in WP Core File wp-includes/media.php at line 3404

Description

Filters the audio shortcode output.

Occurrences

Filename Line Number
wp-includes/media.php 3404

Parameters

Type Name Description
string $html Audio shortcode HTML output.
array $atts Array of audio shortcode attributes.
string $audio Audio file.
int $post_id Post ID.
string $library Media library used for the audio shortcode.

PHP Doc

/**
	 * Filters the audio shortcode output.
	 *
	 * @since 3.6.0
	 *
	 * @param string $html    Audio shortcode HTML output.
	 * @param array  $atts    Array of audio shortcode attributes.
	 * @param string $audio   Audio file.
	 * @param int    $post_id Post ID.
	 * @param string $library Media library used for the audio shortcode.
	 */